qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-block] [PATCH] iotests: Clean up after 192


From: Max Reitz
Subject: [Qemu-block] [PATCH] iotests: Clean up after 192
Date: Wed, 8 May 2019 14:55:48 +0200

This patch makes 192 clean up the qemu command FIFOs, the qemu PID file,
and the NBD socket file.

Reported by: Thomas Huth <address@hidden>
Signed-off-by: Max Reitz <address@hidden>
---
 tests/qemu-iotests/192 | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests/qemu-iotests/192 b/tests/qemu-iotests/192
index 158086f9d2..37bd975eec 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
+    rm -f "$TEST_DIR/nbd"
+    _cleanup_test_img
 }
 trap "_cleanup; exit \$status" 0 1 2 3 15
 
-- 
2.20.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]