summaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/030.out
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>2012-04-25 16:51:04 +0100
committerLuiz Capitulino <lcapitulino@redhat.com>2012-04-27 11:44:50 -0300
commite425306a27ef02b6ef19408d588974953f0f28c0 (patch)
tree192e4ad3f3aae22767cf1ed49d20643c820cc0f8 /tests/qemu-iotests/030.out
parentc83c66c3b58893a4dc056e272822beb88fe9ec7f (diff)
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>
Diffstat (limited to 'tests/qemu-iotests/030.out')
-rw-r--r--tests/qemu-iotests/030.out4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/qemu-iotests/030.out b/tests/qemu-iotests/030.out
index 8d7e996700..914e3737bd 100644
--- a/tests/qemu-iotests/030.out
+++ b/tests/qemu-iotests/030.out
@@ -1,5 +1,5 @@
-...
+.....
----------------------------------------------------------------------
-Ran 3 tests
+Ran 5 tests
OK