[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-block] [PULL 09/21] iotests: 028: Use TEST_IMG override instead of
From: |
Max Reitz |
Subject: |
[Qemu-block] [PULL 09/21] iotests: 028: Use TEST_IMG override instead of "mv" |
Date: |
Thu, 7 Jan 2016 23:57:23 +0100 |
From: Fam Zheng <address@hidden>
Signed-off-by: Fam Zheng <address@hidden>
Reviewed-by: Max Reitz <address@hidden>
Message-id: address@hidden
Signed-off-by: Max Reitz <address@hidden>
---
tests/qemu-iotests/028 | 5 ++++-
tests/qemu-iotests/028.out | 2 +-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/tests/qemu-iotests/028 b/tests/qemu-iotests/028
index a1f4423..009510d 100755
--- a/tests/qemu-iotests/028
+++ b/tests/qemu-iotests/028
@@ -60,6 +60,9 @@ base_size=$(( image_size - 1024 * 1024 * 1024 ))
offset=$(( base_size - 32 * 1024 ))
+TEST_IMG_SAVE="$TEST_IMG"
+TEST_IMG="$TEST_IMG.base"
+
_make_test_img $base_size
echo "Filling base image"
@@ -73,7 +76,7 @@ _check_test_img
echo "Creating test image with backing file"
echo
-mv "$TEST_IMG" "$TEST_IMG.base"
+TEST_IMG="$TEST_IMG_SAVE"
_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 29c9972..279029d 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
--
2.6.4
- [Qemu-block] [PULL 00/21] Block layer patches, Max Reitz, 2016/01/07
- [Qemu-block] [PULL 01/21] iotests: 086: Add raw format, Max Reitz, 2016/01/07
- [Qemu-block] [PULL 02/21] qemu-iotests: make check-block.sh work on out-of-tree builds, Max Reitz, 2016/01/07
- [Qemu-block] [PULL 03/21] block: use drained section in bdrv_close, Max Reitz, 2016/01/07
- [Qemu-block] [PULL 04/21] block/qapi: Clear err for further error, Max Reitz, 2016/01/07
- [Qemu-block] [PULL 05/21] iotests: 018: Use TEST_IMG override instead of "mv", Max Reitz, 2016/01/07
- [Qemu-block] [PULL 06/21] iotests: 019: Use TEST_IMG override instead of "mv", Max Reitz, 2016/01/07
- [Qemu-block] [PULL 07/21] iotests: 020: Use TEST_IMG override instead of "mv", Max Reitz, 2016/01/07
- [Qemu-block] [PULL 08/21] iotests: 024: Use TEST_IMG override instead of "mv", Max Reitz, 2016/01/07
- [Qemu-block] [PULL 09/21] iotests: 028: Use TEST_IMG override instead of "mv",
Max Reitz <=
- [Qemu-block] [PULL 10/21] iotests: 034: Use TEST_IMG override instead of "mv", Max Reitz, 2016/01/07
- [Qemu-block] [PULL 11/21] iotests: 037: Use TEST_IMG override instead of "mv", Max Reitz, 2016/01/07
- [Qemu-block] [PULL 12/21] iotests: 038: Use TEST_IMG override instead of "mv", Max Reitz, 2016/01/07
- [Qemu-block] [PULL 13/21] iotests: 050: Use TEST_IMG override instead of "mv", Max Reitz, 2016/01/07
- [Qemu-block] [PULL 14/21] iotests: 095: Use TEST_IMG override instead of "mv", Max Reitz, 2016/01/07
- [Qemu-block] [PULL 15/21] iotests: 095: Filter _img_info output, Max Reitz, 2016/01/07
- [Qemu-block] [PULL 17/21] block: Rename BLOCK_OP_TYPE_MIRROR to BLOCK_OP_TYPE_MIRROR_SOURCE, Max Reitz, 2016/01/07
- [Qemu-block] [PULL 16/21] qemu-iotests: s390x: fix test 051, Max Reitz, 2016/01/07
- [Qemu-block] [PULL 18/21] block: Extract blockdev part of qmp_drive_mirror, Max Reitz, 2016/01/07
- [Qemu-block] [PULL 19/21] block: Add check on mirror target, Max Reitz, 2016/01/07