summaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/040.out
diff options
context:
space:
mode:
authorJeff Cody <jcody@redhat.com>2012-09-27 13:29:17 -0400
committerKevin Wolf <kwolf@redhat.com>2012-09-28 18:55:44 +0200
commit747051cd97c384e70eec0ceb905f08e630b6a1c4 (patch)
tree6a4d44776afa5268ea9a062f86121423550c3d13 /tests/qemu-iotests/040.out
parented61fc10e8c8d2d1287f7edae92e44f5c97c540d (diff)
downloadqemu-747051cd97c384e70eec0ceb905f08e630b6a1c4.tar.gz
qemu-iotests: add initial tests for live block commit
Derived from the streaming test cases (030), this adds the following 9 tests: 1. For the following image chain, commit [mid] into [backing], and use qemu-io to verify [backing] has its original data, as well as the data from [mid] [backing] <-- [mid] <-- [test] 2. Verifies that 'block-commit' with the 'speed' parameter sets the speed parameter, as reported by 'query-block-jobs' 3. Verifies that a bogus 'device' parameter to 'block-commit' results in error 4-9: Appropriate error values returned for the following argument errors: * top == base * top is nonexistent * base is nonexistent * top == active layer (this is currently not supported) * top and base arguments are reversed * top argument is omitted Signed-off-by: Jeff Cody <jcody@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/040.out')
-rw-r--r--tests/qemu-iotests/040.out5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/qemu-iotests/040.out b/tests/qemu-iotests/040.out
new file mode 100644
index 0000000000..dae404e278
--- /dev/null
+++ b/tests/qemu-iotests/040.out
@@ -0,0 +1,5 @@
+.........
+----------------------------------------------------------------------
+Ran 9 tests
+
+OK