]> sourceware.org Git - lvm2.git/commitdiff
tests: set known locking dir
authorZdenek Kabelac <zkabelac@redhat.com>
Tue, 23 Mar 2021 00:15:29 +0000 (01:15 +0100)
committerZdenek Kabelac <zkabelac@redhat.com>
Tue, 23 Mar 2021 00:15:29 +0000 (01:15 +0100)
Tests running in the system may use locking dir of the system.

test/shell/lock-blocking.sh

index 06f1a7ab02a05cb7d749beb70488c029752068aa..9defaf2c71de07a71972788fe66a19a5aab734ad 100644 (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"
This page took 0.032716 seconds and 5 git commands to generate.