aboutsummaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/162.out
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2016-08-15 15:29:27 +0200
committerKevin Wolf <kwolf@redhat.com>2016-08-15 15:52:29 +0200
commit7d3e693646ad07459e04898663b37000858b4c20 (patch)
tree1be9fb74e68ddd82d3f913faca33afddf8052a5c /tests/qemu-iotests/162.out
parent03504d05f0618d1773d2335138fd7b8b18f32afb (diff)
downloadqemu-7d3e693646ad07459e04898663b37000858b4c20.zip
qemu-7d3e693646ad07459e04898663b37000858b4c20.tar.gz
qemu-7d3e693646ad07459e04898663b37000858b4c20.tar.bz2
iotests: Test case for wrong runtime option types
Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Jeff Cody <jcody@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/162.out')
-rw-r--r--tests/qemu-iotests/162.out17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/qemu-iotests/162.out b/tests/qemu-iotests/162.out
new file mode 100644
index 0000000..9bba723
--- /dev/null
+++ b/tests/qemu-iotests/162.out
@@ -0,0 +1,17 @@
+QA output created by 162
+
+=== NBD ===
+qemu-img: Could not open 'json:{"driver": "nbd", "host": 42}': Failed to connect socket: Invalid argument
+qemu-img: Could not open 'json:{"driver": "nbd", "host": "does.not.exist.example.com", "port": 42}': address resolution failed for does.not.exist.example.com:42: Name or service not known
+image: nbd+unix://?socket=42
+
+=== SSH ===
+qemu-img: Could not open 'json:{"driver": "ssh", "host": "localhost", "port": "0", "path": "/foo"}': Failed to connect socket: Connection refused
+qemu-img: Could not open 'driver=ssh,host=localhost,port=0,path=/foo': Failed to connect socket: Connection refused
+qemu-img: Could not open 'json:{"driver": "ssh", "host": "localhost", "port": 0.42, "path": "/foo"}': Parameter 'port' expects a number
+qemu-img: Could not open 'driver=ssh,host=localhost,port=0.42,path=/foo': Parameter 'port' expects a number
+
+=== blkdebug ===
+image: blkdebug:42:null-co://
+
+*** done