qemu-e2k/tests
Stefan Hajnoczi e425306a27 qemu-iotests: add block-stream speed value test case
Add tests to exercise the InvalidParameter 'speed' error code path, as
well as the regular success case for setting the speed.  The
block-stream 'speed' parameter allows the speed limit of the job to be
applied immediately when the job starts instead of issuing a separate
block-job-set-speed command later.  If the parameter has an invalid
value we expect to get an error and the job is not created.

It turns out that cancelling a block job is a common operation in these
test cases, let's extract a cancel_and_wait() function instead of
duplicating the QMP commands.

Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Acked-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
2012-04-27 11:44:50 -03:00
..
qemu-iotests qemu-iotests: add block-stream speed value test case 2012-04-27 11:44:50 -03:00
tcg target-xtensa: add tests for LOOPNEZ and LOOPGTZ 2012-04-21 13:24:50 +00:00
.gitignore Add .gitignore for tests/ 2012-04-20 13:23:27 +01:00
check-block.sh
check-qdict.c
check-qfloat.c
check-qint.c
check-qjson.c
check-qlist.c
check-qstring.c
libqtest.c qtest: Fix more format errors with qtest_sendf 2012-04-26 13:14:57 -05:00
libqtest.h
m48t59-test.c qtest: add m48t59 tests for Sparc 2012-04-21 07:10:25 +00:00
Makefile qtest: add m48t59 tests for Sparc 2012-04-21 07:10:25 +00:00
qemu-iotests-quick.sh
rtc-test.c qtest: add register fuzzing to RTC test 2012-04-19 18:14:55 +00:00
test-coroutine.c
test-qmp-commands.c
test-qmp-input-strict.c
test-qmp-input-visitor.c
test-qmp-output-visitor.c
test-string-input-visitor.c
test-string-output-visitor.c