diff options
author | Fam Zheng <famz@redhat.com> | 2015-12-22 10:49:20 +0800 |
---|---|---|
committer | Max Reitz <mreitz@redhat.com> | 2016-01-07 21:30:17 +0100 |
commit | 61b422265ed7f49ddc457cfe1f52847a2c9646bc (patch) | |
tree | b61487fca8945c71ddeb65f9d1598c050cc6aa9a /tests/qemu-iotests/095 | |
parent | ae7e0bf461d2e7e3779c58346ae050d19d149908 (diff) |
iotests: 095: Use TEST_IMG override instead of "mv"
Signed-off-by: Fam Zheng <famz@redhat.com>
Message-id: 1450752561-9300-11-git-send-email-famz@redhat.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/095')
-rwxr-xr-x | tests/qemu-iotests/095 | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/qemu-iotests/095 b/tests/qemu-iotests/095 index 6630181a78..57a730ecec 100755 --- a/tests/qemu-iotests/095 +++ b/tests/qemu-iotests/095 @@ -50,11 +50,9 @@ _supported_os Linux size_smaller=5M size_larger=100M -_make_test_img $size_smaller -mv "${TEST_IMG}" "${TEST_IMG}.base" +TEST_IMG="$TEST_IMG.base" _make_test_img $size_smaller -_make_test_img -b "${TEST_IMG}.base" $size_larger -mv "${TEST_IMG}" "${TEST_IMG}.snp1" +TEST_IMG="$TEST_IMG.snp1" _make_test_img -b "$TEST_IMG.base" $size_larger _make_test_img -b "${TEST_IMG}.snp1" $size_larger |