iotests: Fix expected whitespace for 185
PATCH 1/1 iotests: Fix expected whitespace for 185
Commit f93e19fb03b adjusted various iotest whitespace discrepancies, but missed a test that is not part of default 'make check'.
--- tests/qemu-iotests/185.out | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tests/qemu-iotests/185.out +1 -1
@@ -89,7 +89,7 @@ Formatting 'TEST_DIR/t.qcow2.copy', fmt=qcow2 cluster_size=65536 extended_l2=off 'format': 'IMGFMT', 'sync': 'full', 'speed': 65536, - 'x-perf': { 'max-chunk': 65536 } } } + 'x-perf': {'max-chunk': 65536} } } Formatting 'TEST_DIR/t.qcow2.copy', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=67108864 lazy_refcounts=off refcount_bits=16 {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "created", "id": "disk"}} {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "running", "id": "disk"}}
Signature · 1 line
2.30.0
Quoted 2 lines · Eric Blake
Commit
f93e19fb03badjusted various iotest whitespace discrepancies, but missed a test that is not part of default 'make check'.
Actually, at point of f93e19fb03b there is no x-perf at all, so it's not a miss in f93e19fb03b...
Let me bisect it...
Hmm, seems, it's wrong since introducing this line in 61623f82153788e
Why was it wrongly added - it's a question.. Looks like something was merged in a meantime, that changed how qmp log looks like.. And original patch was made before that. But I don't want to dig more :)
Quoted 12 lines
Signed-off-by Eric Blake <[email protected]>--- tests/qemu-iotests/185.out | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tests/qemu-iotests/185.out +0
-0
tests/qemu-iotests/185.out Formatting 'TEST_DIR/t.qcow2.copy', fmt=qcow2 cluster_size=65536 extended_l2=off · line 95
Quoted 8 lines
tests/qemu-iotests/185.out +1
-1@@ -89,7 +89,7 @@ Formatting 'TEST_DIR/t.qcow2.copy', fmt=qcow2 cluster_size=65536 extended_l2=off 'format': 'IMGFMT', 'sync': 'full', 'speed': 65536, - 'x-perf': { 'max-chunk': 65536 } } } + 'x-perf': {'max-chunk': 65536} } } Formatting 'TEST_DIR/t.qcow2.copy', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=67108864 lazy_refcounts=off refcount_bits=16 {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "created", "id": "disk"}} {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "running", "id": "disk"}}
for the patch itself:
Signature · 2 lines
Best regards, Vladimir
Philippe Mathieu-Daudé
Reviewed-byQuoted 11 lines · Vladimir Sementsov-Ogievskiy
Quoted 2 lines · Eric Blake
Commit
f93e19fb03badjusted various iotest whitespace discrepancies, but missed a test that is not part of default 'make check'.Actually, at point of
f93e19fb03bthere is no x-perf at all, so it's not a miss inf93e19fb03b...Let me bisect it...
Hmm, seems, it's wrong since introducing this line in
61623f82153788e
Assuming you'll reword the commit description:
Quoted 38 lines
Why was it wrongly added - it's a question.. Looks like something was merged in a meantime, that changed how qmp log looks like.. And original patch was made before that. But I don't want to dig more :)
Quoted 18 lines
Signed-off-by Eric Blake <[email protected]>---
tests/qemu-iotests/185.out | 2 +-1 file changed, 1 insertion(+), 1 deletion(-)tests/qemu-iotests/185.out +0
-0@@ -89,7 +89,7 @@ Formatting 'TEST_DIR/t.qcow2.copy', fmt=qcow2cluster_size=65536 extended_l2=off
'format': 'IMGFMT',
'sync': 'full',
'speed': 65536,
- 'x-perf': { 'max-chunk': 65536 } } } + 'x-perf': {'max-chunk': 65536} } } Formatting 'TEST_DIR/t.qcow2.copy', fmt=qcow2 cluster_size=65536Quoted 9 lines
extended_l2=off compression_type=zlib size=67108864 lazy_refcounts=off refcount_bits=16
{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "created", "id":
"disk"}}
{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "running", "id":
"disk"}}for the patch itself:
Reviewed-by Vladimir Sementsov-Ogievskiy <[email protected]>
Quoted 8 lines · Vladimir Sementsov-Ogievskiy
Quoted 2 lines · Eric Blake
Commit
f93e19fb03badjusted various iotest whitespace discrepancies, but missed a test that is not part of default 'make check'.Actually, at point of
f93e19fb03bthere is no x-perf at all, so it's not a miss inf93e19fb03b...
Quoted 7 lines
Let me bisect it...
Hmm, seems, it's wrong since introducing this line in
61623f82153788eWhy was it wrongly added - it's a question.. Looks like something was merged in a meantime, that changed how qmp log looks like.. And original patch was made before that. But I don't want to dig more :)
Okay, I'll adjust my commit message; we definitely had a case of patches crossing one another, reintroducing the problem.
Quoted 4 lines
for the patch itself:
Reviewed-by Vladimir Sementsov-Ogievskiy <[email protected]>
Thanks; I'll include it in my NBD pull request, since I found it while using iotests for that.
Signature · 3 lines
Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3226 Virtualization: qemu.org | libvirt.org