From 7575c7ae5c012c4a20bd4c2563640880f522789c Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Tue, 23 Mar 2021 01:15:29 +0100 Subject: [PATCH] tests: set known locking dir Tests running in the system may use locking dir of the system. --- test/shell/lock-blocking.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/shell/lock-blocking.sh b/test/shell/lock-blocking.sh index 06f1a7ab0..9defaf2c7 100644 --- a/test/shell/lock-blocking.sh +++ b/test/shell/lock-blocking.sh @@ -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"