diff options
author | Denis V. Lunev <den@openvz.org> | 2015-04-28 10:46:43 +0300 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2015-05-22 09:37:31 +0100 |
commit | 50ffd8fd3cfceede87cec1f7f9a04cd7b9147271 (patch) | |
tree | 587315147f080bad199a6475a58e5776e777d85d /tests/qemu-iotests/076 | |
parent | 5a41e1fa95f379e236883f38dacda292f6c48e6f (diff) |
iotests, parallels: test for write into Parallels image
Signed-off-by: Denis V. Lunev <den@openvz.org>
Reviewed-by: Roman Kagan <rkagan@parallels.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Roman Kagan <rkagan@parallels.com>
Message-id: 1430207220-24458-11-git-send-email-den@openvz.org
CC: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/076')
-rwxr-xr-x | tests/qemu-iotests/076 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/qemu-iotests/076 b/tests/qemu-iotests/076 index 0139976d29..c9b55a9801 100755 --- a/tests/qemu-iotests/076 +++ b/tests/qemu-iotests/076 @@ -74,6 +74,11 @@ echo echo "== Read from a valid v2 image ==" _use_sample_img parallels-v2.bz2 { $QEMU_IO -c "read -P 0x11 0 64k" "$TEST_IMG"; } 2>&1 | _filter_qemu_io | _filter_testdir +{ $QEMU_IO -c "write -P 0x21 1024k 1k" "$TEST_IMG"; } 2>&1 | _filter_qemu_io | _filter_testdir +{ $QEMU_IO -c "write -P 0x22 1025k 1k" "$TEST_IMG"; } 2>&1 | _filter_qemu_io | _filter_testdir +{ $QEMU_IO -c "read -P 0x21 1024k 1k" "$TEST_IMG"; } 2>&1 | _filter_qemu_io | _filter_testdir +{ $QEMU_IO -c "read -P 0x22 1025k 1k" "$TEST_IMG"; } 2>&1 | _filter_qemu_io | _filter_testdir +{ $QEMU_IO -c "read -P 0 1026k 62k" "$TEST_IMG"; } 2>&1 | _filter_qemu_io | _filter_testdir # success, all done echo "*** done" |