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

tests: set known locking dir

Tests running in the system may use locking dir of the system.
This commit is contained in:
Zdenek Kabelac 2021-03-23 01:15:29 +01:00
parent f370cda716
commit 7575c7ae5c

View File

@ -17,6 +17,9 @@ SKIP_WITH_LVMPOLLD=1
. lib/inittest
# Make sure the placement of locking dir is known
aux lvmconf "global/locking_dir = \"$TESTDIR/var/lock/lvm\""
aux prepare_devs 3
pvcreate "$dev1" "$dev2"
vgcreate $SHARED $vg "$dev1" "$dev2"