]> sourceware.org Git - lvm2.git/commitdiff
tests: minor update
authorZdenek Kabelac <zkabelac@redhat.com>
Wed, 20 Apr 2016 21:21:03 +0000 (23:21 +0200)
committerZdenek Kabelac <zkabelac@redhat.com>
Wed, 20 Apr 2016 22:34:01 +0000 (00:34 +0200)
test/shell/pvmove-background.sh

index 000de1c16218838a934f68d8a7d88410f0719f9e..26970d481d614f72820ffbc99c9eb7d591fe75de 100644 (file)
@@ -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
This page took 0.039686 seconds and 5 git commands to generate.