summaryrefslogtreecommitdiffstats
path: root/tests/qemu-iotests/028.out
diff options
context:
space:
mode:
authorMax Reitz2019-10-11 14:18:08 +0200
committerKevin Wolf2019-10-14 17:12:48 +0200
commit48c8d3ce6daad66d86ba972e8930adc54c02db1a (patch)
tree106f2ecb93b5d1b1f42ce7393ed0967435cab334 /tests/qemu-iotests/028.out
parentblock: Reject misaligned write requests with BDRV_REQ_NO_FALLBACK (diff)
downloadqemu-48c8d3ce6daad66d86ba972e8930adc54c02db1a.tar.gz
qemu-48c8d3ce6daad66d86ba972e8930adc54c02db1a.tar.xz
qemu-48c8d3ce6daad66d86ba972e8930adc54c02db1a.zip
iotests/028: Fix for long $TEST_DIRs
For long test image paths, the order of the "Formatting" line and the "(qemu)" prompt after a drive_backup HMP command may be reversed. In fact, the interaction between the prompt and the line may lead to the "Formatting" to being greppable at all after "read"-ing it (if the prompt injects an IFS character into the "Formatting" string). So just wait until we get a prompt. At that point, the block job must have been started, so "info block-jobs" will only return "No active jobs" once it is done. Reported-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: John Snow <jsnow@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/028.out')
-rw-r--r--tests/qemu-iotests/028.out1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/qemu-iotests/028.out b/tests/qemu-iotests/028.out
index 7d54aeb003..37aed84436 100644
--- a/tests/qemu-iotests/028.out
+++ b/tests/qemu-iotests/028.out
@@ -468,7 +468,6 @@ No errors were found on the image.
block-backup
-Formatting 'TEST_DIR/t.IMGFMT.copy', fmt=IMGFMT size=4294968832 backing_file=TEST_DIR/t.IMGFMT.base backing_fmt=IMGFMT
(qemu) info block-jobs
No active jobs
=== IO: pattern 195