master - tests: put devs into ""
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=236db9fc0df9784d559fbce49a9fcb5e642e6445 Commit: 236db9fc0df9784d559fbce49a9fcb5e642e6445 Parent: 75c4d268e9b0b70c58f8b8b018fe200aca7b8bb2 Author: Zdenek Kabelac <[email protected]> AuthorDate: Tue Oct 7 09:54:47 2014 +0200 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Tue Oct 7 10:19:33 2014 +0200
tests: put devs into ""
--- test/shell/lvextend-thin.sh | 2 +- test/shell/lvmetad-dump.sh | 2 +- test/shell/lvmetad-lvm1.sh | 2 +- test/shell/lvmetad-lvscan-cache.sh | 4 +- test/shell/lvmetad-override.sh | 2 +- test/shell/lvmetad-pvscan-cache.sh | 2 +- test/shell/lvmetad-pvscan-md.sh | 4 +- test/shell/lvresize-usage.sh | 4 +- test/shell/mirror-names.sh | 4 +- test/shell/process-each-pv-nomda-all.sh | 46 +- test/shell/process-each-pv-nomda.sh | 14 +- test/shell/process-each-pv.sh | 1898 +++++++++++++++---------------- test/shell/process-each-pvresize.sh | 707 ++++++------ test/shell/pvchange-usage.sh | 2 +- test/shell/pvcreate-bootloaderarea.sh | 2 +- test/shell/pvmove-background.sh | 2 +- test/shell/report-select.sh | 10 +- 17 files changed, 1351 insertions(+), 1356 deletions(-)
test/shell/lvextend-thin.sh +1 -1
@@ -15,5 +15,5 @@ aux have_thin 1 0 0 || skip aux prepare_vg 3 lvcreate -i2 -l2 -T $vg/pool2 -lvextend -l+2 $vg/pool2 $dev2 $dev3 +lvextend -l+2 $vg/pool2 "$dev2" "$dev3" should lvextend -l+100%FREE $vg/pool2
test/shell/lvmetad-dump.sh +1 -1
@@ -13,7 +13,7 @@ test -e LOCAL_LVMETAD || skip aux prepare_pvs 2 -vgcreate $vg1 $dev1 $dev2 +vgcreate $vg1 "$dev1" "$dev2" lvcreate -n bar -l 1 $vg1 (echo | aux lvmetad_talk) || skip
test/shell/lvmetad-lvm1.sh +1 -1
@@ -25,7 +25,7 @@ pvs | should grep "$dev1" pvcreate -ff -y --metadatatype 1 "$dev1" "$dev2" vgcreate --metadatatype 1 $vg1 "$dev1" "$dev2" lvcreate -l1 $vg1 -pvremove -ff -y $dev2 +pvremove -ff -y "$dev2" vgchange -an $vg1 not lvremove $vg1 not vgremove -ff -y $vg1
test/shell/lvmetad-lvscan-cache.sh +2 -2
@@ -15,7 +15,7 @@ test -e LOCAL_LVMETAD || skip aux prepare_pvs 2 -vgcreate $vg1 $dev1 $dev2 +vgcreate $vg1 "$dev1" "$dev2" lvcreate -n testlv -m 1 -l 1 $vg1 vgs | grep $vg1
@@ -23,7 +23,7 @@ lvscan --cache $vg1/testlv vgs | grep $vg1 -aux disable_dev $dev2 +aux disable_dev "$dev2" # pvscan --cache already ran for the disabled device above, this should be a # no-op (but should not segfault!)
test/shell/lvmetad-override.sh +1 -1
@@ -14,7 +14,7 @@ test -e LOCAL_LVMETAD || skip aux prepare_pvs 2 -vgcreate $vg1 $dev1 $dev2 +vgcreate $vg1 "$dev1" "$dev2" lvchange -ay $vg1 2>&1 | not grep "Failed to connect" kill $(< LOCAL_LVMETAD) lvchange -ay $vg1 2>&1 | grep "Failed to connect"
test/shell/lvmetad-pvscan-cache.sh +1 -1
@@ -15,7 +15,7 @@ test -e LOCAL_LVMETAD || skip aux prepare_pvs 2 -vgcreate $vg1 $dev1 $dev2 +vgcreate $vg1 "$dev1" "$dev2" vgs | grep $vg1 pvscan --cache
test/shell/lvmetad-pvscan-md.sh +2 -2
@@ -73,5 +73,5 @@ not pvscan --cache "$dev1" 2>&1 | grep "not found" not pvscan --cache "$dev2" 2>&1 | grep "not found" pvs | grep $lvmdev -pvs | not grep $dev1 -pvs | not grep $dev2 +pvs | not grep "$dev1" +pvs | not grep "$dev2"
test/shell/lvresize-usage.sh +2 -2
@@ -27,8 +27,8 @@ grep "Reducing stripe size" err lvremove -ff $vg -lvcreate -L 10M -n lv $vg $dev1 -lvextend -L +10M $vg/lv $dev2 +lvcreate -L 10M -n lv $vg "$dev1" +lvextend -L +10M $vg/lv "$dev2" # Attempt to reduce with lvextend and vice versa: not lvextend -L 16M $vg/lv
test/shell/mirror-names.sh +2 -2
@@ -27,8 +27,8 @@ lv_devices_() { devs=$(get lv_devices "$lv") for d in $devs; do - (echo "$devices" | grep $d) || return 1 - devices=$(echo $devices | sed "s/$d//") + (echo "$devices" | grep "$d") || return 1 + devices=$(echo "$devices" | sed "s/$d//") done test -z "$(echo $devices | sed 's/ //g')"
test/shell/process-each-pv-nomda-all.sh +23 -23
60 lines not on this page · raw message
test/shell/process-each-pv-nomda.sh +6 -8
@@ -1,5 +1,5 @@ #!/bin/sh -# Copyright (C) 2008-2013 Red Hat, Inc. All rights reserved. +# Copyright (C) 2014 Red Hat, Inc. All rights reserved. # # This copyrighted material is made available to anyone wishing to use, # modify, copy, or redistribute it subject to the terms and conditions
@@ -15,13 +15,11 @@ test_description='Test process_each_pv with zero mda' aux prepare_devs 2 -pvcreate $dev1 --metadatacopies 0 -pvcreate $dev2 +pvcreate "$dev1" --metadatacopies 0 +pvcreate "$dev2" vgcreate $vg1 "$dev1" "$dev2" -pvdisplay -a -C >err -cat err -grep $dev1 err -grep $dev2 err - +pvdisplay -a -C | tee err +grep "$dev1" err +grep "$dev2" err
test/shell/process-each-pv.sh +948 -950
2,116 lines not on this page · raw message
test/shell/process-each-pvresize.sh +353 -354
719 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Part of the diff is not shown here. View the raw message.