aboutsummaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/179
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2017-07-27 15:19:12 +0200
committerKevin Wolf <kwolf@redhat.com>2017-08-01 18:09:33 +0200
commit0e5960761d5e804df48bb85c435e2c92f616b140 (patch)
treedf1b4bd0e8bd2fc86a37aeefdb84e4761b9f6e59 /tests/qemu-iotests/179
parentdb11d1ee85497e9e581f632d319b55e43f752baf (diff)
qemu-iotests: Remove blkdebug.conf after tests
qemu-iotests 074 and 179 left a blkdebug.conf behind in the scratch directory. Make sure to clean up after completing the tests. 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/qemu-iotests/179')
-rwxr-xr-xtests/qemu-iotests/1791
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/qemu-iotests/179 b/tests/qemu-iotests/179
index 7bc8db8fe0..115944a753 100755
--- a/tests/qemu-iotests/179
+++ b/tests/qemu-iotests/179
@@ -30,6 +30,7 @@ status=1 # failure is the default!
_cleanup()
{
_cleanup_test_img
+ rm -f "$TEST_DIR/blkdebug.conf"
}
trap "_cleanup; exit \$status" 0 1 2 3 15