From acac3cb52457b536cf8e984ce947a0ac2e837a5d Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Tue, 23 Mar 2021 09:48:47 +0100 Subject: [PATCH] tests: test needs to have playable locking dir --- test/shell/vgchange-sysinit.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/shell/vgchange-sysinit.sh b/test/shell/vgchange-sysinit.sh index cea72f4d0..5740addf5 100644 --- a/test/shell/vgchange-sysinit.sh +++ b/test/shell/vgchange-sysinit.sh @@ -22,6 +22,8 @@ aux prepare_pvs 2 8 var_lock="$DM_DEV_DIR/$vg1/$lv1" # keep in sync with aux configured lockingdir mount_dir="var/lock/lvm" +mkdir -p $mount_dir +aux lvmconf "global/locking_dir = \"$TESTDIR/$mount_dir\"" cleanup_mounted_and_teardown() {