summaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/192
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qemu-iotests/192')
-rwxr-xr-xtests/qemu-iotests/1924
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/qemu-iotests/192 b/tests/qemu-iotests/192
index 158086f9d2..61a88ac88d 100755
--- a/tests/qemu-iotests/192
+++ b/tests/qemu-iotests/192
@@ -29,7 +29,9 @@ status=1 # failure is the default!
_cleanup()
{
- _cleanup_test_img
+ _cleanup_qemu
+ _cleanup_test_img
+ rm -f "$TEST_DIR/nbd"
}
trap "_cleanup; exit \$status" 0 1 2 3 15