From: Kevin Wolf Date: Thu, 27 Jul 2017 13:19:12 +0000 (+0200) Subject: qemu-iotests: Remove blkdebug.conf after tests X-Git-Tag: v2.10.0-rc1~5^2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0e5960761d5e804df48bb85c435e2c92f616b140;p=thirdparty%2Fqemu.git 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 Reviewed-by: Jeff Cody Reviewed-by: Eric Blake --- diff --git a/tests/qemu-iotests/074 b/tests/qemu-iotests/074 index aba126cb694..b17866bd34a 100755 --- a/tests/qemu-iotests/074 +++ b/tests/qemu-iotests/074 @@ -32,6 +32,7 @@ _cleanup() echo "Cleanup" _cleanup_test_img rm "${TEST_IMG2}" + rm -f "$TEST_DIR/blkdebug.conf" } trap "_cleanup; exit \$status" 0 1 2 3 15 diff --git a/tests/qemu-iotests/179 b/tests/qemu-iotests/179 index 7bc8db8fe08..115944a7532 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