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 Add 'make check-block' 2012-03-12 15:14:07 +01:00
check-qdict.c test makefile overhaul 2012-03-30 08:14:11 -05:00
check-qfloat.c test makefile overhaul 2012-03-30 08:14:11 -05:00
check-qint.c test makefile overhaul 2012-03-30 08:14:11 -05:00
check-qjson.c test makefile overhaul 2012-03-30 08:14:11 -05:00
check-qlist.c test makefile overhaul 2012-03-30 08:14:11 -05:00
check-qstring.c test makefile overhaul 2012-03-30 08:14:11 -05:00
libqtest.c qtest: Fix more format errors with qtest_sendf 2012-04-26 13:14:57 -05:00
libqtest.h qtest: add C version of test infrastructure 2012-03-30 08:14:11 -05:00
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 make check: Add qemu-iotests subset 2012-03-12 15:14:07 +01:00
rtc-test.c qtest: add register fuzzing to RTC test 2012-04-19 18:14:55 +00:00
test-coroutine.c test makefile overhaul 2012-03-30 08:14:11 -05:00
test-qmp-commands.c test makefile overhaul 2012-03-30 08:14:11 -05:00
test-qmp-input-strict.c test makefile overhaul 2012-03-30 08:14:11 -05:00
test-qmp-input-visitor.c test makefile overhaul 2012-03-30 08:14:11 -05:00
test-qmp-output-visitor.c test makefile overhaul 2012-03-30 08:14:11 -05:00
test-string-input-visitor.c test makefile overhaul 2012-03-30 08:14:11 -05:00
test-string-output-visitor.c test makefile overhaul 2012-03-30 08:14:11 -05:00