qemu/tests
Paolo Bonzini 77e8b9ca64 nbd: correctly propagate errors
Before:
    $ ./qemu-io-old
    qemu-io-old> open -r -o file.driver=nbd
    one of path and host must be specified.
    qemu-io-old: can't open device (null): Could not open image: Invalid argument
    $ ./qemu-io-old
    qemu-io-old> open -r -o file.driver=nbd,file.host=foo,file.path=bar
    path and host may not be used at the same time.
    qemu-io-old: can't open device (null): Could not open image: Invalid argument

After:
    $ ./qemu-io
    qemu-io> open -r -o file.driver=nbd
    qemu-io: can't open device (null): one of path and host must be specified.
    $ ./qemu-io
    qemu-io> open -r -o file.driver=nbd,file.host=foo,file.path=bar
    qemu-io: can't open device (null): path and host may not be used at the same time.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2014-02-21 21:02:22 +01:00
..
acpi-test-data acpi-test: update expected AML since recent changes 2014-01-26 13:11:45 +02:00
libqos libqos: Generalize I/O-mapped fw_cfg 2013-07-18 13:27:47 -05:00
multiboot tests: Multiboot mmap test case 2013-10-28 17:34:42 +01:00
qapi-schema OptsVisitor: introduce unit tests, with test cases for range flattening 2013-08-20 11:52:00 -04:00
qemu-iotests nbd: correctly propagate errors 2014-02-21 21:02:22 +01:00
tcg tests: lm32: new rule for single test cases 2014-02-04 19:34:29 +01:00
.gitignore tests/.gitignore: Ignore tests/check-qom-interface 2014-02-01 13:56:31 +04:00
acpi-test.c acpi unit-test: do not fail on asl mismatch 2014-01-26 13:06:49 +02:00
blockdev-test.c blockdev-test: add test case for drive_add duplicate IDs 2013-11-07 13:58:58 +01:00
boot-order-test.c qtest: Use -display none by default 2013-11-19 10:28:14 +01:00
check-block.sh
check-qdict.c tests: Add test for qdict_flatten() 2014-01-22 12:07:18 +01:00
check-qfloat.c
check-qint.c
check-qjson.c
check-qlist.c
check-qom-interface.c tests: Test QOM interface casting 2013-12-24 17:27:17 +01:00
check-qstring.c
e1000-test.c tests: Add e1000 qtest 2014-02-14 16:22:33 +01:00
eepro100-test.c tests: Add eepro100 qtest 2014-02-14 16:22:33 +01:00
endianness-test.c qtest: Include system headers before user headers 2014-02-17 23:10:02 +01:00
fdc-test.c qtest: Fix the bug about disable vnc causes "make check" fail 2014-01-22 12:07:16 +01:00
fw_cfg-test.c qtest: Include system headers before user headers 2014-02-17 23:10:02 +01:00
hd-geo-test.c qtest: Use -display none by default 2013-11-19 10:28:14 +01:00
i440fx-test.c QOM infrastructure fixes and device conversions 2014-02-20 13:05:48 +00:00
ide-test.c qtest: Fix the bug about disable vnc causes "make check" fail 2014-01-22 12:07:16 +01:00
ipoctal232-test.c tests: Add ipoctal232 qtest 2014-02-14 21:07:13 +01:00
libqtest.c qtest: kill QEMU process on g_assert() failure 2014-02-19 15:45:51 +01:00
libqtest.h libqtest: add qmp(fmt, ...) -> QDict* function 2013-11-07 13:58:53 +01:00
m48t59-test.c qtest: Include system headers before user headers 2014-02-17 23:10:02 +01:00
Makefile QOM infrastructure fixes and device conversions 2014-02-20 13:05:48 +00:00
ne2000-test.c tests: Add ne2000 qtest 2014-02-14 20:50:19 +01:00
pcnet-test.c tests: Add pcnet qtest 2014-02-14 16:22:33 +01:00
qdev-monitor-test.c virtio-blk: Convert to QOM realize 2013-12-09 21:46:49 +01:00
qemu-iotests-quick.sh
qom-test.c qtest: Include system headers before user headers 2014-02-17 23:10:02 +01:00
rtc-test.c qtest: Include system headers before user headers 2014-02-17 23:10:02 +01:00
rtl8139-test.c tests: Add rtl8139 qtest 2014-02-14 16:22:33 +01:00
test-aio.c aio: make aio_poll(ctx, true) block with no fds 2013-12-06 16:53:51 +01:00
test-bitops.c tests: fix 64-bit int literals for 32-bit hosts 2013-11-05 19:59:43 -08:00
test-coroutine.c Test coroutine execution order 2013-11-28 10:30:52 +01:00
test-cutils.c
test-hbitmap.c
test-int128.c int128: optimize and add test cases 2013-07-02 08:17:01 +02:00
test-iov.c
test-mul64.c
test-opts-visitor.c tests: fix 64-bit int literals for 32-bit hosts 2013-11-05 19:59:43 -08:00
test-qdev-global-props.c qdev: Set globals in instance_post_init function 2013-08-16 18:44:33 +02:00
test-qmp-commands.c
test-qmp-input-strict.c Use error_is_set() only when necessary 2014-02-17 11:57:23 -05:00
test-qmp-input-visitor.c Use error_is_set() only when necessary 2014-02-17 11:57:23 -05:00
test-qmp-output-visitor.c Use error_is_set() only when necessary 2014-02-17 11:57:23 -05:00
test-string-input-visitor.c Use error_is_set() only when necessary 2014-02-17 11:57:23 -05:00
test-string-output-visitor.c QOM infrastructure fixes and device conversions 2014-02-20 13:05:48 +00:00
test-thread-pool.c aio / timers: Add QEMUTimerListGroup to AioContext 2013-08-22 19:10:27 +02:00
test-throttle.c misc: New spelling fixes in comments 2013-10-26 13:01:57 +04:00
test-visitor-serialization.c qapi: Add human mode to StringOutputVisitor 2014-02-14 21:12:03 +01:00
test-vmstate.c tests: Some unit tests for vmstate.c 2014-01-13 14:04:53 +01:00
test-x86-cpuid.c
test-xbzrle.c
tmp105-test.c qtest: Include system headers before user headers 2014-02-17 23:10:02 +01:00
tpci200-test.c tests: Add tpci200 qtest 2014-02-14 21:02:27 +01:00
virtio-net-test.c tests: Add virtio-net qtest 2014-02-14 21:01:03 +01:00
vmxnet3-test.c tests: Add vmxnet3 qtest 2014-02-14 16:22:33 +01:00