yeahuh / rpms / qemu-kvm

Forked from rpms/qemu-kvm 2 years ago
Clone
218e99
From 9b1cfdf3f35a028aafffb01d667cdaf304e678c7 Mon Sep 17 00:00:00 2001
218e99
From: Kevin Wolf <kwolf@redhat.com>
218e99
Date: Wed, 4 Sep 2013 13:16:05 +0200
218e99
Subject: [PATCH 36/38] qemu-iotests: Fixed test case 026
218e99
218e99
Message-id: <1379499002-5231-5-git-send-email-mreitz@redhat.com>
218e99
Patchwork-id: 54435
218e99
O-Subject: [RHEL-7.0 qemu-kvm PATCH 4/6] qemu-iotests: Fixed test case 026
218e99
Bugzilla: 1006959
218e99
RH-Acked-by: Markus Armbruster <armbru@redhat.com>
218e99
RH-Acked-by: Fam Zheng <famz@redhat.com>
218e99
RH-Acked-by: Kevin Wolf <kwolf@redhat.com>
218e99
218e99
BZ: 1006959
218e99
218e99
The reference output for test case 026 hasn't been updated in a long
218e99
time and it's one of the "known failing" cases. This patch updates the
218e99
reference output so that unintentional changes can be reliably detected
218e99
again.
218e99
218e99
The problem with this test case is that it produces different output
218e99
depending on whether -nocache is used or not. The solution of this patch
218e99
is to actually have two different reference outputs. If nnn.out.nocache
218e99
exists, it is used as the reference output for -nocache; otherwise,
218e99
nnn.out stays valid for both cases.
218e99
218e99
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
218e99
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
218e99
(cherry picked from commit 8f94b077877151de93a63c73f796897309568ddb)
218e99
218e99
Signed-off-by: Max Reitz <mreitz@redhat.com>
218e99
---
218e99
 tests/qemu-iotests/026.out         |   28 +-
218e99
 tests/qemu-iotests/026.out.nocache |  626 ++++++++++++++++++++++++++++++++++++
218e99
 tests/qemu-iotests/check           |   12 +-
218e99
 3 files changed, 649 insertions(+), 17 deletions(-)
218e99
 create mode 100644 tests/qemu-iotests/026.out.nocache
218e99
218e99
diff --git a/tests/qemu-iotests/026.out b/tests/qemu-iotests/026.out
218e99
index fb4f20e..0764389 100644
218e99
--- a/tests/qemu-iotests/026.out
218e99
+++ b/tests/qemu-iotests/026.out
218e99
@@ -126,62 +126,64 @@ Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824
218e99
 Event: l2_update; errno: 5; imm: off; once: on; write 
218e99
 write failed: Input/output error
218e99
 
218e99
-128 leaked clusters were found on the image.
218e99
+127 leaked clusters were found on the image.
218e99
 This means waste of disk space, but no harm to data.
218e99
 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
 
218e99
 Event: l2_update; errno: 5; imm: off; once: on; write -b
218e99
 write failed: Input/output error
218e99
 
218e99
-128 leaked clusters were found on the image.
218e99
+127 leaked clusters were found on the image.
218e99
 This means waste of disk space, but no harm to data.
218e99
 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
 
218e99
 Event: l2_update; errno: 5; imm: off; once: off; write 
218e99
 write failed: Input/output error
218e99
 
218e99
-128 leaked clusters were found on the image.
218e99
+127 leaked clusters were found on the image.
218e99
 This means waste of disk space, but no harm to data.
218e99
 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
 
218e99
 Event: l2_update; errno: 5; imm: off; once: off; write -b
218e99
 write failed: Input/output error
218e99
 
218e99
-128 leaked clusters were found on the image.
218e99
+127 leaked clusters were found on the image.
218e99
 This means waste of disk space, but no harm to data.
218e99
 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
 
218e99
 Event: l2_update; errno: 28; imm: off; once: on; write 
218e99
 write failed: No space left on device
218e99
 
218e99
-128 leaked clusters were found on the image.
218e99
+127 leaked clusters were found on the image.
218e99
 This means waste of disk space, but no harm to data.
218e99
 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
 
218e99
 Event: l2_update; errno: 28; imm: off; once: on; write -b
218e99
 write failed: No space left on device
218e99
 
218e99
-128 leaked clusters were found on the image.
218e99
+127 leaked clusters were found on the image.
218e99
 This means waste of disk space, but no harm to data.
218e99
 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
 
218e99
 Event: l2_update; errno: 28; imm: off; once: off; write 
218e99
 write failed: No space left on device
218e99
 
218e99
-128 leaked clusters were found on the image.
218e99
+127 leaked clusters were found on the image.
218e99
 This means waste of disk space, but no harm to data.
218e99
 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
 
218e99
 Event: l2_update; errno: 28; imm: off; once: off; write -b
218e99
 write failed: No space left on device
218e99
 
218e99
-128 leaked clusters were found on the image.
218e99
+127 leaked clusters were found on the image.
218e99
 This means waste of disk space, but no harm to data.
218e99
 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
 
218e99
 Event: l2_alloc.write; errno: 5; imm: off; once: on; write 
218e99
 write failed: Input/output error
218e99
-No errors were found on the image.
218e99
+
218e99
+1 leaked clusters were found on the image.
218e99
+This means waste of disk space, but no harm to data.
218e99
 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
 
218e99
 Event: l2_alloc.write; errno: 5; imm: off; once: on; write -b
218e99
@@ -205,7 +207,9 @@ Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824
218e99
 
218e99
 Event: l2_alloc.write; errno: 28; imm: off; once: on; write 
218e99
 write failed: No space left on device
218e99
-No errors were found on the image.
218e99
+
218e99
+1 leaked clusters were found on the image.
218e99
+This means waste of disk space, but no harm to data.
218e99
 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
 
218e99
 Event: l2_alloc.write; errno: 28; imm: off; once: on; write -b
218e99
@@ -575,7 +579,6 @@ No errors were found on the image.
218e99
 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
 
218e99
 Event: l1_grow.write_table; errno: 5; imm: off; once: off
218e99
-qcow2_free_clusters failed: Input/output error
218e99
 write failed: Input/output error
218e99
 No errors were found on the image.
218e99
 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
@@ -586,7 +589,6 @@ No errors were found on the image.
218e99
 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
 
218e99
 Event: l1_grow.write_table; errno: 28; imm: off; once: off
218e99
-qcow2_free_clusters failed: No space left on device
218e99
 write failed: No space left on device
218e99
 No errors were found on the image.
218e99
 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
@@ -597,7 +599,6 @@ No errors were found on the image.
218e99
 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
 
218e99
 Event: l1_grow.activate_table; errno: 5; imm: off; once: off
218e99
-qcow2_free_clusters failed: Input/output error
218e99
 write failed: Input/output error
218e99
 
218e99
 96 leaked clusters were found on the image.
218e99
@@ -610,7 +611,6 @@ No errors were found on the image.
218e99
 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
 
218e99
 Event: l1_grow.activate_table; errno: 28; imm: off; once: off
218e99
-qcow2_free_clusters failed: No space left on device
218e99
 write failed: No space left on device
218e99
 
218e99
 96 leaked clusters were found on the image.
218e99
diff --git a/tests/qemu-iotests/026.out.nocache b/tests/qemu-iotests/026.out.nocache
218e99
new file mode 100644
218e99
index 0000000..33bad0d
218e99
--- /dev/null
218e99
+++ b/tests/qemu-iotests/026.out.nocache
218e99
@@ -0,0 +1,626 @@
218e99
+QA output created by 026
218e99
+Errors while writing 128 kB
218e99
+
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: l1_update; errno: 5; imm: off; once: on; write 
218e99
+write failed: Input/output error
218e99
+
218e99
+1 leaked clusters were found on the image.
218e99
+This means waste of disk space, but no harm to data.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: l1_update; errno: 5; imm: off; once: on; write -b
218e99
+write failed: Input/output error
218e99
+
218e99
+1 leaked clusters were found on the image.
218e99
+This means waste of disk space, but no harm to data.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: l1_update; errno: 5; imm: off; once: off; write 
218e99
+write failed: Input/output error
218e99
+
218e99
+1 leaked clusters were found on the image.
218e99
+This means waste of disk space, but no harm to data.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: l1_update; errno: 5; imm: off; once: off; write -b
218e99
+write failed: Input/output error
218e99
+
218e99
+1 leaked clusters were found on the image.
218e99
+This means waste of disk space, but no harm to data.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: l1_update; errno: 28; imm: off; once: on; write 
218e99
+write failed: No space left on device
218e99
+
218e99
+1 leaked clusters were found on the image.
218e99
+This means waste of disk space, but no harm to data.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: l1_update; errno: 28; imm: off; once: on; write -b
218e99
+write failed: No space left on device
218e99
+
218e99
+1 leaked clusters were found on the image.
218e99
+This means waste of disk space, but no harm to data.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: l1_update; errno: 28; imm: off; once: off; write 
218e99
+write failed: No space left on device
218e99
+
218e99
+1 leaked clusters were found on the image.
218e99
+This means waste of disk space, but no harm to data.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: l1_update; errno: 28; imm: off; once: off; write -b
218e99
+write failed: No space left on device
218e99
+
218e99
+1 leaked clusters were found on the image.
218e99
+This means waste of disk space, but no harm to data.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: l2_load; errno: 5; imm: off; once: on; write 
218e99
+wrote 131072/131072 bytes at offset 0
218e99
+128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
218e99
+write failed: Input/output error
218e99
+read failed: Input/output error
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: l2_load; errno: 5; imm: off; once: on; write -b
218e99
+wrote 131072/131072 bytes at offset 0
218e99
+128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
218e99
+write failed: Input/output error
218e99
+read failed: Input/output error
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: l2_load; errno: 5; imm: off; once: off; write 
218e99
+wrote 131072/131072 bytes at offset 0
218e99
+128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
218e99
+write failed: Input/output error
218e99
+read failed: Input/output error
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: l2_load; errno: 5; imm: off; once: off; write -b
218e99
+wrote 131072/131072 bytes at offset 0
218e99
+128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
218e99
+write failed: Input/output error
218e99
+read failed: Input/output error
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: l2_load; errno: 28; imm: off; once: on; write 
218e99
+wrote 131072/131072 bytes at offset 0
218e99
+128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
218e99
+write failed: No space left on device
218e99
+read failed: No space left on device
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: l2_load; errno: 28; imm: off; once: on; write -b
218e99
+wrote 131072/131072 bytes at offset 0
218e99
+128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
218e99
+write failed: No space left on device
218e99
+read failed: No space left on device
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: l2_load; errno: 28; imm: off; once: off; write 
218e99
+wrote 131072/131072 bytes at offset 0
218e99
+128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
218e99
+write failed: No space left on device
218e99
+read failed: No space left on device
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: l2_load; errno: 28; imm: off; once: off; write -b
218e99
+wrote 131072/131072 bytes at offset 0
218e99
+128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
218e99
+write failed: No space left on device
218e99
+read failed: No space left on device
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: l2_update; errno: 5; imm: off; once: on; write 
218e99
+wrote 131072/131072 bytes at offset 0
218e99
+128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
218e99
+
218e99
+127 leaked clusters were found on the image.
218e99
+This means waste of disk space, but no harm to data.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: l2_update; errno: 5; imm: off; once: on; write -b
218e99
+wrote 131072/131072 bytes at offset 0
218e99
+128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
218e99
+
218e99
+127 leaked clusters were found on the image.
218e99
+This means waste of disk space, but no harm to data.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: l2_update; errno: 5; imm: off; once: off; write 
218e99
+wrote 131072/131072 bytes at offset 0
218e99
+128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
218e99
+
218e99
+127 leaked clusters were found on the image.
218e99
+This means waste of disk space, but no harm to data.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: l2_update; errno: 5; imm: off; once: off; write -b
218e99
+wrote 131072/131072 bytes at offset 0
218e99
+128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
218e99
+
218e99
+127 leaked clusters were found on the image.
218e99
+This means waste of disk space, but no harm to data.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: l2_update; errno: 28; imm: off; once: on; write 
218e99
+wrote 131072/131072 bytes at offset 0
218e99
+128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
218e99
+
218e99
+127 leaked clusters were found on the image.
218e99
+This means waste of disk space, but no harm to data.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: l2_update; errno: 28; imm: off; once: on; write -b
218e99
+wrote 131072/131072 bytes at offset 0
218e99
+128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
218e99
+
218e99
+127 leaked clusters were found on the image.
218e99
+This means waste of disk space, but no harm to data.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: l2_update; errno: 28; imm: off; once: off; write 
218e99
+wrote 131072/131072 bytes at offset 0
218e99
+128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
218e99
+
218e99
+127 leaked clusters were found on the image.
218e99
+This means waste of disk space, but no harm to data.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: l2_update; errno: 28; imm: off; once: off; write -b
218e99
+wrote 131072/131072 bytes at offset 0
218e99
+128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
218e99
+
218e99
+127 leaked clusters were found on the image.
218e99
+This means waste of disk space, but no harm to data.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: l2_alloc.write; errno: 5; imm: off; once: on; write 
218e99
+write failed: Input/output error
218e99
+
218e99
+1 leaked clusters were found on the image.
218e99
+This means waste of disk space, but no harm to data.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: l2_alloc.write; errno: 5; imm: off; once: on; write -b
218e99
+write failed: Input/output error
218e99
+
218e99
+1 leaked clusters were found on the image.
218e99
+This means waste of disk space, but no harm to data.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: l2_alloc.write; errno: 5; imm: off; once: off; write 
218e99
+write failed: Input/output error
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: l2_alloc.write; errno: 5; imm: off; once: off; write -b
218e99
+write failed: Input/output error
218e99
+
218e99
+1 leaked clusters were found on the image.
218e99
+This means waste of disk space, but no harm to data.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: l2_alloc.write; errno: 28; imm: off; once: on; write 
218e99
+write failed: No space left on device
218e99
+
218e99
+1 leaked clusters were found on the image.
218e99
+This means waste of disk space, but no harm to data.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: l2_alloc.write; errno: 28; imm: off; once: on; write -b
218e99
+write failed: No space left on device
218e99
+
218e99
+1 leaked clusters were found on the image.
218e99
+This means waste of disk space, but no harm to data.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: l2_alloc.write; errno: 28; imm: off; once: off; write 
218e99
+write failed: No space left on device
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: l2_alloc.write; errno: 28; imm: off; once: off; write -b
218e99
+write failed: No space left on device
218e99
+
218e99
+1 leaked clusters were found on the image.
218e99
+This means waste of disk space, but no harm to data.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: write_aio; errno: 5; imm: off; once: on; write 
218e99
+write failed: Input/output error
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: write_aio; errno: 5; imm: off; once: on; write -b
218e99
+write failed: Input/output error
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: write_aio; errno: 5; imm: off; once: off; write 
218e99
+write failed: Input/output error
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: write_aio; errno: 5; imm: off; once: off; write -b
218e99
+write failed: Input/output error
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: write_aio; errno: 28; imm: off; once: on; write 
218e99
+write failed: No space left on device
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: write_aio; errno: 28; imm: off; once: on; write -b
218e99
+write failed: No space left on device
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: write_aio; errno: 28; imm: off; once: off; write 
218e99
+write failed: No space left on device
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: write_aio; errno: 28; imm: off; once: off; write -b
218e99
+write failed: No space left on device
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: refblock_load; errno: 5; imm: off; once: on; write 
218e99
+write failed: Input/output error
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: refblock_load; errno: 5; imm: off; once: on; write -b
218e99
+write failed: Input/output error
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: refblock_load; errno: 5; imm: off; once: off; write 
218e99
+write failed: Input/output error
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: refblock_load; errno: 5; imm: off; once: off; write -b
218e99
+write failed: Input/output error
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: refblock_load; errno: 28; imm: off; once: on; write 
218e99
+write failed: No space left on device
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: refblock_load; errno: 28; imm: off; once: on; write -b
218e99
+write failed: No space left on device
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: refblock_load; errno: 28; imm: off; once: off; write 
218e99
+write failed: No space left on device
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: refblock_load; errno: 28; imm: off; once: off; write -b
218e99
+write failed: No space left on device
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: refblock_update_part; errno: 5; imm: off; once: on; write 
218e99
+write failed: Input/output error
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: refblock_update_part; errno: 5; imm: off; once: on; write -b
218e99
+write failed: Input/output error
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: refblock_update_part; errno: 5; imm: off; once: off; write 
218e99
+write failed: Input/output error
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: refblock_update_part; errno: 5; imm: off; once: off; write -b
218e99
+write failed: Input/output error
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: refblock_update_part; errno: 28; imm: off; once: on; write 
218e99
+write failed: No space left on device
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: refblock_update_part; errno: 28; imm: off; once: on; write -b
218e99
+write failed: No space left on device
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: refblock_update_part; errno: 28; imm: off; once: off; write 
218e99
+write failed: No space left on device
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: refblock_update_part; errno: 28; imm: off; once: off; write -b
218e99
+write failed: No space left on device
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: refblock_alloc; errno: 5; imm: off; once: on; write 
218e99
+write failed: Input/output error
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: refblock_alloc; errno: 5; imm: off; once: on; write -b
218e99
+write failed: Input/output error
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: refblock_alloc; errno: 5; imm: off; once: off; write 
218e99
+write failed: Input/output error
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: refblock_alloc; errno: 5; imm: off; once: off; write -b
218e99
+write failed: Input/output error
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: refblock_alloc; errno: 28; imm: off; once: on; write 
218e99
+write failed: No space left on device
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: refblock_alloc; errno: 28; imm: off; once: on; write -b
218e99
+write failed: No space left on device
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: refblock_alloc; errno: 28; imm: off; once: off; write 
218e99
+write failed: No space left on device
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: refblock_alloc; errno: 28; imm: off; once: off; write -b
218e99
+write failed: No space left on device
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: cluster_alloc; errno: 5; imm: off; once: on; write 
218e99
+write failed: Input/output error
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: cluster_alloc; errno: 5; imm: off; once: on; write -b
218e99
+write failed: Input/output error
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: cluster_alloc; errno: 5; imm: off; once: off; write 
218e99
+write failed: Input/output error
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: cluster_alloc; errno: 5; imm: off; once: off; write -b
218e99
+write failed: Input/output error
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: cluster_alloc; errno: 28; imm: off; once: on; write 
218e99
+write failed: No space left on device
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: cluster_alloc; errno: 28; imm: off; once: on; write -b
218e99
+write failed: No space left on device
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: cluster_alloc; errno: 28; imm: off; once: off; write 
218e99
+write failed: No space left on device
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: cluster_alloc; errno: 28; imm: off; once: off; write -b
218e99
+write failed: No space left on device
218e99
+No errors were found on the image.
218e99
+
218e99
+=== Refcout table growth tests ===
218e99
+
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: refblock_alloc.hookup; errno: 28; imm: off; once: on; write 
218e99
+write failed: No space left on device
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: refblock_alloc.hookup; errno: 28; imm: off; once: on; write -b
218e99
+write failed: No space left on device
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: refblock_alloc.hookup; errno: 28; imm: off; once: off; write 
218e99
+write failed: No space left on device
218e99
+
218e99
+55 leaked clusters were found on the image.
218e99
+This means waste of disk space, but no harm to data.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: refblock_alloc.hookup; errno: 28; imm: off; once: off; write -b
218e99
+write failed: No space left on device
218e99
+
218e99
+251 leaked clusters were found on the image.
218e99
+This means waste of disk space, but no harm to data.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: refblock_alloc.write; errno: 28; imm: off; once: on; write 
218e99
+write failed: No space left on device
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: refblock_alloc.write; errno: 28; imm: off; once: on; write -b
218e99
+write failed: No space left on device
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: refblock_alloc.write; errno: 28; imm: off; once: off; write 
218e99
+write failed: No space left on device
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: refblock_alloc.write; errno: 28; imm: off; once: off; write -b
218e99
+write failed: No space left on device
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: refblock_alloc.write_blocks; errno: 28; imm: off; once: on; write 
218e99
+write failed: No space left on device
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: refblock_alloc.write_blocks; errno: 28; imm: off; once: on; write -b
218e99
+write failed: No space left on device
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: refblock_alloc.write_blocks; errno: 28; imm: off; once: off; write 
218e99
+write failed: No space left on device
218e99
+
218e99
+10 leaked clusters were found on the image.
218e99
+This means waste of disk space, but no harm to data.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: refblock_alloc.write_blocks; errno: 28; imm: off; once: off; write -b
218e99
+write failed: No space left on device
218e99
+
218e99
+23 leaked clusters were found on the image.
218e99
+This means waste of disk space, but no harm to data.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: refblock_alloc.write_table; errno: 28; imm: off; once: on; write 
218e99
+write failed: No space left on device
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: refblock_alloc.write_table; errno: 28; imm: off; once: on; write -b
218e99
+write failed: No space left on device
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: refblock_alloc.write_table; errno: 28; imm: off; once: off; write 
218e99
+write failed: No space left on device
218e99
+
218e99
+10 leaked clusters were found on the image.
218e99
+This means waste of disk space, but no harm to data.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: refblock_alloc.write_table; errno: 28; imm: off; once: off; write -b
218e99
+write failed: No space left on device
218e99
+
218e99
+23 leaked clusters were found on the image.
218e99
+This means waste of disk space, but no harm to data.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: refblock_alloc.switch_table; errno: 28; imm: off; once: on; write 
218e99
+write failed: No space left on device
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: refblock_alloc.switch_table; errno: 28; imm: off; once: on; write -b
218e99
+write failed: No space left on device
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: refblock_alloc.switch_table; errno: 28; imm: off; once: off; write 
218e99
+write failed: No space left on device
218e99
+
218e99
+10 leaked clusters were found on the image.
218e99
+This means waste of disk space, but no harm to data.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: refblock_alloc.switch_table; errno: 28; imm: off; once: off; write -b
218e99
+write failed: No space left on device
218e99
+
218e99
+23 leaked clusters were found on the image.
218e99
+This means waste of disk space, but no harm to data.
218e99
+
218e99
+=== L1 growth tests ===
218e99
+
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: l1_grow.alloc_table; errno: 5; imm: off; once: on
218e99
+write failed: Input/output error
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: l1_grow.alloc_table; errno: 5; imm: off; once: off
218e99
+write failed: Input/output error
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: l1_grow.alloc_table; errno: 28; imm: off; once: on
218e99
+write failed: No space left on device
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: l1_grow.alloc_table; errno: 28; imm: off; once: off
218e99
+write failed: No space left on device
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: l1_grow.write_table; errno: 5; imm: off; once: on
218e99
+write failed: Input/output error
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: l1_grow.write_table; errno: 5; imm: off; once: off
218e99
+write failed: Input/output error
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: l1_grow.write_table; errno: 28; imm: off; once: on
218e99
+write failed: No space left on device
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: l1_grow.write_table; errno: 28; imm: off; once: off
218e99
+write failed: No space left on device
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: l1_grow.activate_table; errno: 5; imm: off; once: on
218e99
+write failed: Input/output error
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: l1_grow.activate_table; errno: 5; imm: off; once: off
218e99
+write failed: Input/output error
218e99
+
218e99
+96 leaked clusters were found on the image.
218e99
+This means waste of disk space, but no harm to data.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: l1_grow.activate_table; errno: 28; imm: off; once: on
218e99
+write failed: No space left on device
218e99
+No errors were found on the image.
218e99
+Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 
218e99
+
218e99
+Event: l1_grow.activate_table; errno: 28; imm: off; once: off
218e99
+write failed: No space left on device
218e99
+
218e99
+96 leaked clusters were found on the image.
218e99
+This means waste of disk space, but no harm to data.
218e99
+*** done
218e99
diff --git a/tests/qemu-iotests/check b/tests/qemu-iotests/check
218e99
index e51bae8..4ecf497 100755
218e99
--- a/tests/qemu-iotests/check
218e99
+++ b/tests/qemu-iotests/check
218e99
@@ -239,12 +239,18 @@ do
218e99
                 echo -n " [failed, exit status $sts]"
218e99
                 err=true
218e99
             fi
218e99
-            if [ ! -f $seq.out ]
218e99
+
218e99
+            reference=$seq.out
218e99
+            if (echo $QEMU_IO_OPTIONS | grep -s -- '--nocache' > /dev/null); then
218e99
+                [ -f $seq.out.nocache ] && reference=$seq.out.nocache
218e99
+            fi
218e99
+
218e99
+            if [ ! -f $reference ]
218e99
             then
218e99
                 echo " - no qualified output"
218e99
                 err=true
218e99
             else
218e99
-                if diff -w $seq.out $tmp.out >/dev/null 2>&1
218e99
+                if diff -w $reference $tmp.out >/dev/null 2>&1
218e99
                 then
218e99
                     echo ""
218e99
                     if $err
218e99
@@ -256,7 +262,7 @@ do
218e99
                 else
218e99
                     echo " - output mismatch (see $seq.out.bad)"
218e99
                     mv $tmp.out $seq.out.bad
218e99
-                    $diff -w $seq.out $seq.out.bad
218e99
+                    $diff -w $reference $seq.out.bad
218e99
                     err=true
218e99
                 fi
218e99
             fi
218e99
-- 
218e99
1.7.1
218e99