Skip to contentSkip to conversation

master - tests: minor update

PATCH Zdenek Kabelac 1 participant 1 message Apr 20, 2016

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=7ce486e881a96db24a1f46a99110b0eb7009b0de
Commit:        7ce486e881a96db24a1f46a99110b0eb7009b0de
Parent:        545b58542cec657af5125d16125732b424274982
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Wed Apr 20 23:21:03 2016 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Thu Apr 21 00:34:01 2016 +0200

tests: minor update

---
 test/shell/pvmove-background.sh |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)
test/shell/pvmove-background.sh +7 -3
index 000de1c..26970d4 100644
@@ -21,11 +21,15 @@ for mode in "--atomic" ""
 do
 lvcreate -aey -l1 -n $lv1 $vg "$dev1"
 
-lvs -o +devices | grep "$dev1"
+lvs -o +devices | tee out
+grep "$dev1" out
+
 LVM_TEST_TAG="kill_me_$PREFIX" pvmove $mode -i 1 -b "$dev1" "$dev2"
 sleep 5 # arbitrary...
-lvs -o +devices | not grep "pvmove"
-lvs -o +devices | grep "$dev2"
+lvs -o +devices | tee out
+not grep "pvmove" out
+lvs -o +devices | tee out
+grep "$dev2" out
 
 lvremove -ff $vg
 done