Signed-off-by: Marc-André Lureau <[email protected]>
---
tests/qemu-iotests/119 | 5 ++---
tests/qemu-iotests/119.out | 4 +---
2 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/tests/qemu-iotests/119 b/tests/qemu-iotests/119
index ce1b62521f59..6b95f9224b3e 100755
--- a/tests/qemu-iotests/119
+++ b/tests/qemu-iotests/119
@@ -41,13 +41,12 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
_supported_fmt raw
_supported_proto nbd
_supported_os Linux
-_require_hmp
_make_test_img 64M
# This should not crash
echo "{'execute': 'qmp_capabilities'}
- {'execute': 'human-monitor-command',
- 'arguments': {'command-line': 'qemu-io drv \"read -P 0 0 64k\"'}}
+ {'execute': 'x-qemu-io',
+ 'arguments': {'device': 'drv', 'command': 'read -P 0 0 64k'}}
{'execute': 'quit'}" \
| $QEMU -nographic -drive id=drv,if=none,file="$TEST_IMG",driver=nbd \
-qmp stdio -nodefaults \
diff --git a/tests/qemu-iotests/119.out b/tests/qemu-iotests/119.out
index 45f82a4faa93..edd555fdd2d7 100644
--- a/tests/qemu-iotests/119.out
+++ b/tests/qemu-iotests/119.out
@@ -2,9 +2,7 @@ QA output created by 119
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
QMP_VERSION
{"return": {}}
-read 65536/65536 bytes at offset 0
-64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
-{"return": ""}
+{"return": {"human-readable-text": "read 65536/65536 bytes at offset 0\n64
KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)\n"}}
{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event":
"SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}}
{"return": {}}
--
2.56.0.rc0.29.g47ce80527c56