mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
tests: fix mkdir pvs_online
This commit is contained in:
parent
06439a2562
commit
edf3f86184
@ -19,6 +19,8 @@ aux prepare_pvs 2
|
||||
vgcreate $vg1 "$dev1" "$dev2"
|
||||
lvcreate -n $lv1 -l 4 -a n $vg1
|
||||
|
||||
mkdir /run/lvm/pvs_online || true
|
||||
|
||||
# the first pvscan scans all devs
|
||||
|
||||
rm /run/lvm/pvs_online/*
|
||||
|
@ -26,7 +26,7 @@ check inactive $vg1 foo
|
||||
|
||||
# create a file in pvs_online to disable the pvscan init
|
||||
# case which scans everything when the first dev appears.
|
||||
mkdir /run/lvm/pvs_online/
|
||||
mkdir /run/lvm/pvs_online || true
|
||||
touch /run/lvm/pvs_online/foo
|
||||
|
||||
pvscan --cache --background "$dev2" -aay
|
||||
|
Loading…
Reference in New Issue
Block a user