1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00

lvmdbustest: Make vg name suffix more unique

This commit is contained in:
Tony Asleson 2022-09-22 16:17:20 -05:00
parent 36a8fb20bf
commit 40018cbf53

View File

@ -29,6 +29,8 @@ g_tmo = 0
# Approx. min size
VDO_MIN_SIZE = mib(8192)
VG_TEST_SUFFIX = "_vg_LvMdBuS_TEST"
EXE_NAME="/lvmdbusd"
# Prefix on created objects to enable easier clean-up
@ -71,7 +73,7 @@ if pv_device_list:
def vg_n(prefix=None):
name = rs(8, '_vg')
name = rs(8, VG_TEST_SUFFIX)
if prefix:
name = prefix + name
return g_prefix + name