aboutsummaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/026.out
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2020-02-25 15:31:29 +0100
committerKevin Wolf <kwolf@redhat.com>2020-03-06 17:15:37 +0100
commit31ab00f3747c00fdbb9027cea644b40dd1405480 (patch)
tree7222d17e91584b3a757ccefb8e95e686ff906ce6 /tests/qemu-iotests/026.out
parent3ede935fdbbd5f7b24b4724bbfb8938acb5956d8 (diff)
iotests/026: Test EIO on preallocated zero cluster
Test what happens when writing data to a preallocated zero cluster, but the data write fails. Signed-off-by: Max Reitz <mreitz@redhat.com> Message-Id: <20200225143130.111267-3-mreitz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/026.out')
-rw-r--r--tests/qemu-iotests/026.out10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/qemu-iotests/026.out b/tests/qemu-iotests/026.out
index ff0817b6f2..83989996ff 100644
--- a/tests/qemu-iotests/026.out
+++ b/tests/qemu-iotests/026.out
@@ -643,4 +643,14 @@ write failed: Input/output error
wrote 1048576/1048576 bytes at offset 0
1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
No errors were found on the image.
+
+=== Avoid freeing preallocated zero clusters on failure ===
+
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1024
+wrote 1024/1024 bytes at offset 0
+1 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
+wrote 1024/1024 bytes at offset 0
+1 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
+write failed: Input/output error
+No errors were found on the image.
*** done