aboutsummaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/020
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qemu-iotests/020')
-rwxr-xr-xtests/qemu-iotests/0206
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/qemu-iotests/020 b/tests/qemu-iotests/020
index f41b92f35f..20f8f185d0 100755
--- a/tests/qemu-iotests/020
+++ b/tests/qemu-iotests/020
@@ -28,9 +28,9 @@ status=1 # failure is the default!
_cleanup()
{
- _cleanup_test_img
- rm -f "$TEST_IMG.base"
- rm -f "$TEST_IMG.orig"
+ _cleanup_test_img
+ _rm_test_img "$TEST_IMG.base"
+ _rm_test_img "$TEST_IMG.orig"
}
trap "_cleanup; exit \$status" 0 1 2 3 15