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:
parent
ad0268e239
commit
a427a93549
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user