diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2016-04-20 23:21:03 +0200 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2016-04-21 00:34:01 +0200 |
commit | 7ce486e881a96db24a1f46a99110b0eb7009b0de (patch) | |
tree | 402cfeafd07c017a391176a2daa53e4a0f977740 /test | |
parent | 545b58542cec657af5125d16125732b424274982 (diff) | |
download | lvm2-7ce486e881a96db24a1f46a99110b0eb7009b0de.tar.gz |
tests: minor update
Diffstat (limited to 'test')
-rw-r--r-- | test/shell/pvmove-background.sh | 10 |
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 |