mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-19 14:04:17 +03:00
tests: set known locking dir
Tests running in the system may use locking dir of the system.
This commit is contained in:
parent
f370cda716
commit
7575c7ae5c
@ -17,6 +17,9 @@ SKIP_WITH_LVMPOLLD=1
|
|||||||
|
|
||||||
. lib/inittest
|
. lib/inittest
|
||||||
|
|
||||||
|
# Make sure the placement of locking dir is known
|
||||||
|
aux lvmconf "global/locking_dir = \"$TESTDIR/var/lock/lvm\""
|
||||||
|
|
||||||
aux prepare_devs 3
|
aux prepare_devs 3
|
||||||
pvcreate "$dev1" "$dev2"
|
pvcreate "$dev1" "$dev2"
|
||||||
vgcreate $SHARED $vg "$dev1" "$dev2"
|
vgcreate $SHARED $vg "$dev1" "$dev2"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user