From 6ffb4cb6fd2046e2efb658fb0136e22e4cd0c670 Mon Sep 17 00:00:00 2001 From: Kevin Wolf Date: Tue, 19 Aug 2014 19:28:58 +0200 Subject: 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 Signed-off-by: Kevin Wolf Tested-by: Peter Wu --- tests/qemu-iotests/028 | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/qemu-iotests/028') 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' "" -- cgit v1.2.3