summaryrefslogtreecommitdiffstats
path: root/tests/qemu-iotests/244.out
diff options
context:
space:
mode:
authorMax Reitz2019-11-13 17:26:07 +0100
committerKevin Wolf2020-09-07 12:31:31 +0200
commitc365625b0a7b44ad48dc9ab01605857c8d4cf2c3 (patch)
treee2d41d7cee6e7ccffc7e749b1ccc32a98b25c427 /tests/qemu-iotests/244.out
parentblock: Leave BDS.backing_{file,format} constant (diff)
downloadqemu-c365625b0a7b44ad48dc9ab01605857c8d4cf2c3.tar.gz
qemu-c365625b0a7b44ad48dc9ab01605857c8d4cf2c3.tar.xz
qemu-c365625b0a7b44ad48dc9ab01605857c8d4cf2c3.zip
iotests: Test that qcow2's data-file is flushed
Flushing a qcow2 node must lead to the data-file node being flushed as well. Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Andrey Shinkevich <andrey.shinkevich@virtuozzo.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/244.out')
-rw-r--r--tests/qemu-iotests/244.out7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/qemu-iotests/244.out b/tests/qemu-iotests/244.out
index dbab7359a9..7269b4295a 100644
--- a/tests/qemu-iotests/244.out
+++ b/tests/qemu-iotests/244.out
@@ -131,4 +131,11 @@ Offset Length Mapped to File
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 data_file=TEST_DIR/t.IMGFMT.data
Images are identical.
Images are identical.
+
+=== Flushing should flush the data file ===
+
+wrote 512/512 bytes at offset 0
+512 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
+
+Success: qemu-io failed, so the data file was flushed
*** done