diff options
author | Kevin Wolf <kwolf@redhat.com> | 2017-07-27 15:51:43 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2017-08-01 18:09:33 +0200 |
commit | 0a1505d56a7811244d3cd59cece7cc2bd8286197 (patch) | |
tree | 8630f95fd3cfd2159b69d35631c11a47c70701c4 /tests | |
parent | 0e5960761d5e804df48bb85c435e2c92f616b140 (diff) | |
download | qemu-0a1505d56a7811244d3cd59cece7cc2bd8286197.zip |
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-x | tests/qemu-iotests/141 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qemu-iotests/141 b/tests/qemu-iotests/141 index 40a3405968..2f9d7b9bc2 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 |