[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 3/9] iotests/116: Fix reference output
From: |
Max Reitz |
Subject: |
[PULL 3/9] iotests/116: Fix reference output |
Date: |
Tue, 30 Mar 2021 14:39:51 +0200 |
15ce94a68ca ("block/qed: bdrv_qed_do_open: deal with errp") has improved
the qed driver's error reporting, though sadly did not add a test for
it.
The good news are: There already is such a test, namely 116.
The bad news are: Its reference output was not adjusted, and so now it
fails.
Let's fix the reference output, which has the nice side effect of
demonstrating 15ce94a68ca's improvements.
Fixes: 15ce94a68ca6730466c565c3d29971aab3087bf1
("block/qed: bdrv_qed_do_open: deal with errp")
Signed-off-by: Max Reitz <mreitz@redhat.com>
Message-Id: <20210326141419.156831-1-mreitz@redhat.com>
---
tests/qemu-iotests/116.out | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/tests/qemu-iotests/116.out b/tests/qemu-iotests/116.out
index 49f9a261a0..5f6c6fffca 100644
--- a/tests/qemu-iotests/116.out
+++ b/tests/qemu-iotests/116.out
@@ -2,7 +2,7 @@ QA output created by 116
== truncated header cluster ==
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728
-qemu-io: can't open device TEST_DIR/t.qed: Could not open 'TEST_DIR/t.qed':
Invalid argument
+qemu-io: can't open device TEST_DIR/t.qed: QED table offset is invalid
== invalid header magic ==
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728
@@ -10,21 +10,21 @@ qemu-io: can't open device TEST_DIR/t.qed: Image not in QED
format
== invalid cluster size ==
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728
-qemu-io: can't open device TEST_DIR/t.qed: Could not open 'TEST_DIR/t.qed':
Invalid argument
+qemu-io: can't open device TEST_DIR/t.qed: QED cluster size is invalid
== invalid table size ==
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728
-qemu-io: can't open device TEST_DIR/t.qed: Could not open 'TEST_DIR/t.qed':
Invalid argument
+qemu-io: can't open device TEST_DIR/t.qed: QED table size is invalid
== invalid header size ==
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728
-qemu-io: can't open device TEST_DIR/t.qed: Could not open 'TEST_DIR/t.qed':
Invalid argument
+qemu-io: can't open device TEST_DIR/t.qed: QED table offset is invalid
== invalid L1 table offset ==
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728
-qemu-io: can't open device TEST_DIR/t.qed: Could not open 'TEST_DIR/t.qed':
Invalid argument
+qemu-io: can't open device TEST_DIR/t.qed: QED table offset is invalid
== invalid image size ==
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728
-qemu-io: can't open device TEST_DIR/t.qed: Could not open 'TEST_DIR/t.qed':
Invalid argument
+qemu-io: can't open device TEST_DIR/t.qed: QED image size is invalid
*** done
--
2.29.2
- [PULL 0/9] Block patches for 6.0-rc1, Max Reitz, 2021/03/30
- [PULL 3/9] iotests/116: Fix reference output,
Max Reitz <=
- [PULL 1/9] iotests: Fix typo in iotest 051, Max Reitz, 2021/03/30
- [PULL 6/9] block/mirror: Fix mirror_top's permissions, Max Reitz, 2021/03/30
- [PULL 4/9] qcow2: use external virtual timers, Max Reitz, 2021/03/30
- [PULL 2/9] iotests: fix 051.out expected output after error text touchups, Max Reitz, 2021/03/30
- [PULL 5/9] iotests/046: Filter request length, Max Reitz, 2021/03/30
- [PULL 7/9] qsd: Document FUSE exports, Max Reitz, 2021/03/30
- [PULL 8/9] qcow2: Force preallocation with data-file-raw, Max Reitz, 2021/03/30
- [PULL 9/9] iotests/244: Test preallocation for data-file-raw, Max Reitz, 2021/03/30
- Re: [PULL 0/9] Block patches for 6.0-rc1, Peter Maydell, 2021/03/30