1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00

tests: test needs to have playable locking dir

This commit is contained in:
Zdenek Kabelac 2021-03-23 09:48:47 +01:00
parent b19e036918
commit acac3cb524

View File

@ -22,6 +22,8 @@ aux prepare_pvs 2 8
var_lock="$DM_DEV_DIR/$vg1/$lv1" var_lock="$DM_DEV_DIR/$vg1/$lv1"
# keep in sync with aux configured lockingdir # keep in sync with aux configured lockingdir
mount_dir="var/lock/lvm" mount_dir="var/lock/lvm"
mkdir -p $mount_dir
aux lvmconf "global/locking_dir = \"$TESTDIR/$mount_dir\""
cleanup_mounted_and_teardown() cleanup_mounted_and_teardown()
{ {