master - tests: add ""
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=ff5217f85079fa8cc969e0a81a66f1e1bd6490b5 Commit: ff5217f85079fa8cc969e0a81a66f1e1bd6490b5 Parent: 36bcbeadd08adf83740e123a475b4a30f4d4c456 Author: Zdenek Kabelac <[email protected]> AuthorDate: Mon Mar 16 14:57:14 2015 +0100 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Mon Mar 16 15:06:05 2015 +0100
tests: add ""
Add missing "" around 'devs' (since they could theoritically constain spaces in its name - not likely supported with udev these day but anyway....)
--- test/shell/pvremove-warnings.sh | 4 +- test/shell/select-tools.sh | 92 +++++++++++++++++++------------------- test/shell/system_id.sh | 6 +- 3 files changed, 51 insertions(+), 51 deletions(-)
test/shell/pvremove-warnings.sh +2 -2
@@ -16,6 +16,6 @@ pvremove "$dev1" "$dev2" 2>&1 | tee pvremove.txt not grep "No physical" pvremove.txt pvcreate "$dev1" "$dev2" -vgcreate bla $dev1 $dev2 -pvremove -ff -y $dev1 $dev2 2>&1 | tee pvremove.txt +vgcreate bla "$dev1" "$dev2" +pvremove -ff -y "$dev1" "$dev2" 2>&1 | tee pvremove.txt not grep "device missing" pvremove.txt
test/shell/select-tools.sh +46 -46
137 lines not on this page · raw message
test/shell/system_id.sh +3 -3
@@ -394,17 +394,17 @@ vgcreate $vg1 "$dev1" # normal pvs sees the vg and pv pvs >err grep $vg1 err -grep $dev1 err +grep "$dev1" err # change the local system_id, making the vg foreign echo "$SID2" > $SIDFILE # normal pvs does not see the vg or pv pvs >err not grep $vg1 err -not grep $dev1 err +not grep "$dev1" err # pvs --foreign does see the vg and pv pvs --foreign >err grep $vg1 err -grep $dev1 err +grep "$dev1" err # change the local system_id back so the vg can be removed echo "$SID1" > $SIDFILE vgremove $vg1