[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] qemu-iotests: Cleanup test image in test number 007
From: |
Bharata B Rao |
Subject: |
[Qemu-devel] [PATCH] qemu-iotests: Cleanup test image in test number 007 |
Date: |
Thu, 12 Sep 2013 14:07:59 +0530 |
qemu-iotests number 007 doesn't do test image cleanup. This will affect
those protocols that expect a clean state before every test. Hence
ensure that test image is cleaned up in this test.
Signed-off-by: Bharata B Rao <address@hidden>
---
tests/qemu-iotests/007 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/qemu-iotests/007 b/tests/qemu-iotests/007
index c454f2c..6fa7603 100755
--- a/tests/qemu-iotests/007
+++ b/tests/qemu-iotests/007
@@ -30,7 +30,7 @@ status=1 # failure is the default!
_cleanup()
{
-# _cleanup_test_img
+ _cleanup_test_img
true
}
trap "_cleanup; exit \$status" 0 1 2 3 15
--
1.7.11.7
- [Qemu-devel] [PATCH] qemu-iotests: Cleanup test image in test number 007,
Bharata B Rao <=