1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

tests: fix shell quoting

This commit is contained in:
Zdenek Kabelac 2018-11-06 17:26:15 +01:00
parent ad0268e239
commit a427a93549

View File

@ -20,7 +20,7 @@ ONLINEDIR="$RUNDIR/lvm/pvs_online"
_clear_online() {
# wait till udev is finished
aux udev_wait
rm -f "$ONLINEDIR/*"
rm -f "$ONLINEDIR"/*
test -n "${1+varset}" || touch "$ONLINEDIR/foo"
}
@ -62,9 +62,9 @@ lvchange -an $vg1
_clear_online
pvscan -vvvv --cache -aay "$dev1"
pvscan --cache -aay "$dev1"
check lv_field $vg1/$lv1 lv_active ""
pvscan -vvvv --cache -aay "$dev2"
pvscan --cache -aay "$dev2"
check lv_field $vg1/$lv1 lv_active "active"
lvchange -an $vg1