Commit 0e596076 authored by Kevin Wolf's avatar Kevin Wolf
Browse files

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: default avatarKevin Wolf <kwolf@redhat.com>
Reviewed-by: default avatarJeff Cody <jcody@redhat.com>
Reviewed-by: default avatarEric Blake <eblake@redhat.com>
parent db11d1ee
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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

+1 −0
Original line number Diff line number Diff line
@@ -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