summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2016-04-20 23:21:03 +0200
committerZdenek Kabelac <zkabelac@redhat.com>2016-04-21 00:34:01 +0200
commit7ce486e881a96db24a1f46a99110b0eb7009b0de (patch)
tree402cfeafd07c017a391176a2daa53e4a0f977740
parent545b58542cec657af5125d16125732b424274982 (diff)
downloadlvm2-7ce486e881a96db24a1f46a99110b0eb7009b0de.tar.gz
tests: minor update
-rw-r--r--test/shell/pvmove-background.sh10
1 files changed, 7 insertions, 3 deletions
diff --git a/test/shell/pvmove-background.sh b/test/shell/pvmove-background.sh
index 000de1c16..26970d481 100644
--- a/test/shell/pvmove-background.sh
+++ b/test/shell/pvmove-background.sh
@@ -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