[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCHv2 10/18] qemu-iotests: fix test 028 to work with any
From: |
Peter Lieven |
Subject: |
[Qemu-devel] [PATCHv2 10/18] qemu-iotests: fix test 028 to work with any protocol |
Date: |
Sun, 5 Jan 2014 18:22:00 +0100 |
Signed-off-by: Peter Lieven <address@hidden>
---
tests/qemu-iotests/028 | 9 ++++-----
tests/qemu-iotests/028.out | 2 +-
2 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/tests/qemu-iotests/028 b/tests/qemu-iotests/028
index a99e4fa..4c7644d 100755
--- a/tests/qemu-iotests/028
+++ b/tests/qemu-iotests/028
@@ -45,7 +45,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
# Any format supporting backing files except vmdk and qcow which do not support
# smaller backing files.
_supported_fmt qcow2 qed
-_supported_proto file
+_supported_proto generic
_supported_os Linux
# Choose a size that is not necessarily a cluster size multiple for image
@@ -58,20 +58,19 @@ base_size=$(( image_size - 1024 * 1024 * 1024 ))
offset=$(( base_size - 32 * 1024 ))
-_make_test_img $base_size
+TEST_IMG=$TEST_IMG.base _make_test_img $base_size
echo "Filling base image"
echo
# Fill end of base image with a pattern, skipping every other sector
-io writev $offset 512 1024 32
+TEST_IMG=$TEST_IMG.base io writev $offset 512 1024 32
-_check_test_img
+TEST_IMG=$TEST_IMG.base _check_test_img
echo "Creating test image with backing file"
echo
-mv "$TEST_IMG" "$TEST_IMG.base"
_make_test_img -b "$TEST_IMG.base" $image_size
echo "Filling test image"
diff --git a/tests/qemu-iotests/028.out b/tests/qemu-iotests/028.out
index 8affb7f..444e89a 100644
--- a/tests/qemu-iotests/028.out
+++ b/tests/qemu-iotests/028.out
@@ -1,5 +1,5 @@
QA output created by 028
-Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=3221227008
+Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=3221227008
Filling base image
=== IO: pattern 195
--
1.7.9.5
- Re: [Qemu-devel] [PATCHv2 02/18] qemu-iotests: enable support for NFS protocol, (continued)
- [Qemu-devel] [PATCHv2 05/18] qemu-iotests: fix tests 014 and 023 to work with any protocol, Peter Lieven, 2014/01/05
- Re: [Qemu-devel] [PATCHv2 05/18] qemu-iotests: fix tests 014 and 023 to work with any protocol, Fam Zheng, 2014/01/06
- Re: [Qemu-devel] [PATCHv2 05/18] qemu-iotests: fix tests 014 and 023 to work with any protocol, Peter Lieven, 2014/01/06
- Re: [Qemu-devel] [PATCHv2 05/18] qemu-iotests: fix tests 014 and 023 to work with any protocol, Kevin Wolf, 2014/01/10
- Re: [Qemu-devel] [PATCHv2 05/18] qemu-iotests: fix tests 014 and 023 to work with any protocol, Peter Lieven, 2014/01/10
- Re: [Qemu-devel] [PATCHv2 05/18] qemu-iotests: fix tests 014 and 023 to work with any protocol, Kevin Wolf, 2014/01/10
- Re: [Qemu-devel] [PATCHv2 05/18] qemu-iotests: fix tests 014 and 023 to work with any protocol, Peter Lieven, 2014/01/10
[Qemu-devel] [PATCHv2 06/18] qemu-iotests: fix test 018 to work with any protocol, Peter Lieven, 2014/01/05
[Qemu-devel] [PATCHv2 10/18] qemu-iotests: fix test 028 to work with any protocol,
Peter Lieven <=
[Qemu-devel] [PATCHv2 09/18] qemu-iotests: fix test 024 to work with any protocol, Peter Lieven, 2014/01/05
[Qemu-devel] [PATCHv2 11/18] qemu-iotests: fix test 034 to work with any protocol, Peter Lieven, 2014/01/05
[Qemu-devel] [PATCHv2 13/18] qemu-iotests: fix test 038 to work with any protocol, Peter Lieven, 2014/01/05
[Qemu-devel] [PATCHv2 07/18] qemu-iotests: fix test 019 to work with any protocol, Peter Lieven, 2014/01/05
[Qemu-devel] [PATCHv2 08/18] qemu-iotests: fix test 020 to work with any protocol, Peter Lieven, 2014/01/05
[Qemu-devel] [PATCHv2 12/18] qemu-iotests: fix test 037 to work with any protocol, Peter Lieven, 2014/01/05
[Qemu-devel] [PATCHv2 14/18] qemu-iotests: fix test 043 to work with any protocol, Peter Lieven, 2014/01/05
[Qemu-devel] [PATCHv2 16/18] qemu-iotests: fix expected output of test 067, Peter Lieven, 2014/01/05
[Qemu-devel] [PATCHv2 18/18] qemu-iotests: test 026 store blkdebug.cfg locally, Peter Lieven, 2014/01/05
[Qemu-devel] [PATCHv2 15/18] qemu-iotests: fix test 046 to work with any protocol, Peter Lieven, 2014/01/05