diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2021-03-23 09:48:47 +0100 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2021-03-23 09:48:47 +0100 |
commit | acac3cb52457b536cf8e984ce947a0ac2e837a5d (patch) | |
tree | 3aca6e1d763aec67c396271c79440aa50e27ebae | |
parent | b19e036918cf1c2ac2995e07809a28c06bd1f34a (diff) | |
download | lvm2-acac3cb52457b536cf8e984ce947a0ac2e837a5d.tar.gz |
tests: test needs to have playable locking dir
-rw-r--r-- | test/shell/vgchange-sysinit.sh | 2 |
1 files changed, 2 insertions, 0 deletions
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() { |