aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2017-07-27 15:51:43 +0200
committerKevin Wolf <kwolf@redhat.com>2017-08-01 18:09:33 +0200
commit0a1505d56a7811244d3cd59cece7cc2bd8286197 (patch)
tree8630f95fd3cfd2159b69d35631c11a47c70701c4 /tests
parent0e5960761d5e804df48bb85c435e2c92f616b140 (diff)
downloadqemu-0a1505d56a7811244d3cd59cece7cc2bd8286197.zip
qemu-0a1505d56a7811244d3cd59cece7cc2bd8286197.tar.gz
qemu-0a1505d56a7811244d3cd59cece7cc2bd8286197.tar.bz2
qemu-iotests/141: Fix image cleanup
qemu-iotests 141 attempted to use brace expansion to remove all images with a single command. However, for this to work, the braces shouldn't be quoted. With this fix, the tests correctly cleans up its scratch images. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Jeff Cody <jcody@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/qemu-iotests/1412
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qemu-iotests/141 b/tests/qemu-iotests/141
index 40a3405..2f9d7b9 100755
--- a/tests/qemu-iotests/141
+++ b/tests/qemu-iotests/141
@@ -31,7 +31,7 @@ _cleanup()
{
_cleanup_qemu
_cleanup_test_img
- rm -f "$TEST_DIR/{b,m,o}.$IMGFMT"
+ rm -f "$TEST_DIR"/{b,m,o}.$IMGFMT
}
trap "_cleanup; exit \$status" 0 1 2 3 15