From 58c8cce21c13bddd332590fb1fd9a5c369975d3f Mon Sep 17 00:00:00 2001 From: Kevin Wolf Date: Wed, 15 Aug 2012 14:08:56 +0200 Subject: [PATCH] qemu-iotests: Fix 030 after switch to GenericError Signed-off-by: Kevin Wolf Reviewed-by: Stefan Hajnoczi --- tests/qemu-iotests/030 | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/qemu-iotests/030 b/tests/qemu-iotests/030 index cc671dd..f71ab8d 100755 --- a/tests/qemu-iotests/030 +++ b/tests/qemu-iotests/030 @@ -225,8 +225,7 @@ class TestSetSpeed(ImageStreamingTestCase): self.assert_no_active_streams() result = self.vm.qmp('block-stream', device='drive0', speed=-1) - self.assert_qmp(result, 'error/class', 'InvalidParameter') - self.assert_qmp(result, 'error/data/name', 'speed') + self.assert_qmp(result, 'error/class', 'GenericError') self.assert_no_active_streams() @@ -234,8 +233,7 @@ class TestSetSpeed(ImageStreamingTestCase): self.assert_qmp(result, 'return', {}) result = self.vm.qmp('block-job-set-speed', device='drive0', speed=-1) - self.assert_qmp(result, 'error/class', 'InvalidParameter') - self.assert_qmp(result, 'error/data/name', 'speed') + self.assert_qmp(result, 'error/class', 'GenericError') self.cancel_and_wait() -- 2.7.4