summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorEric Blake2017-09-05 21:11:14 +0200
committerEric Blake2017-09-06 17:11:54 +0200
commit030fa7f6f950f5c8963f1dee8e6bb7387ed86a99 (patch)
treec604ccc0c3afbfa97fa60839fce99619bf20e457 /tests
parentio: Add new qio_channel_read{, v}_all_eof functions (diff)
downloadqemu-030fa7f6f950f5c8963f1dee8e6bb7387ed86a99.tar.gz
qemu-030fa7f6f950f5c8963f1dee8e6bb7387ed86a99.tar.xz
qemu-030fa7f6f950f5c8963f1dee8e6bb7387ed86a99.zip
nbd: Use new qio_channel_*_all() functions
Rather than open-coding our own read/write-all functions, we can make use of the recently-added qio code. It slightly changes the error message in one of the iotests. Signed-off-by: Eric Blake <eblake@redhat.com> Message-Id: <20170905191114.5959-4-eblake@redhat.com> Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/qemu-iotests/083.out8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/qemu-iotests/083.out b/tests/qemu-iotests/083.out
index fb71b6f8ad..25dde519e3 100644
--- a/tests/qemu-iotests/083.out
+++ b/tests/qemu-iotests/083.out
@@ -69,12 +69,12 @@ read failed: Input/output error
=== Check disconnect 4 reply ===
-End of file
+Unexpected end-of-file before all bytes were read
read failed: Input/output error
=== Check disconnect 8 reply ===
-End of file
+Unexpected end-of-file before all bytes were read
read failed: Input/output error
=== Check disconnect before data ===
@@ -180,12 +180,12 @@ read failed: Input/output error
=== Check disconnect 4 reply ===
-End of file
+Unexpected end-of-file before all bytes were read
read failed: Input/output error
=== Check disconnect 8 reply ===
-End of file
+Unexpected end-of-file before all bytes were read
read failed: Input/output error
=== Check disconnect before data ===