aboutsummaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/028
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2014-08-19 19:28:58 +0200
committerKevin Wolf <kwolf@redhat.com>2014-08-20 11:51:28 +0200
commit6ffb4cb6fd2046e2efb658fb0136e22e4cd0c670 (patch)
treea1c28fe22c4019d36fb6a18be47081015dbb56d2 /tests/qemu-iotests/028
parent61ff8cfbec64f08f6955fe04649665f9f7eb0cc6 (diff)
qemu-iotests: Fix 028 reference output for qed
We need to filter out driver-specific options in the "Formatting..." string printed by qemu when creating the backup image. Reported-by: Peter Wu <peter@lekensteyn.nl> Signed-off-by: Kevin Wolf <kwolf@redhat.com> Tested-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to 'tests/qemu-iotests/028')
-rwxr-xr-xtests/qemu-iotests/0281
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/qemu-iotests/028 b/tests/qemu-iotests/028
index 9e701e1c2b..a1f4423d4a 100755
--- a/tests/qemu-iotests/028
+++ b/tests/qemu-iotests/028
@@ -113,6 +113,7 @@ QEMU_COMM_TIMEOUT=1
# Silence output since it contains the disk image path and QEMU's readline
# character echoing makes it very hard to filter the output
_send_qemu_cmd $h "drive_backup disk ${TEST_IMG}.copy" "(qemu)" >/dev/null
+_send_qemu_cmd $h "" "Formatting" | _filter_img_create
qemu_cmd_repeat=20 _send_qemu_cmd $h "info block-jobs" "No active jobs"
_send_qemu_cmd $h 'quit' ""