iotests: Clean up after 192
PATCH 1/1 iotests: Clean up after 192
This patch makes 192 clean up the qemu command FIFOs, the qemu PID file, and the NBD socket file.
Reported by: Thomas Huth <[email protected]>
--- tests/qemu-iotests/192 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
tests/qemu-iotests/192 +3 -1
@@ -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
Signature · 1 line
2.20.1
Quoted 14 lines · Max Reitz
This patch makes 192 clean up the qemu command FIFOs, the qemu PID file, and the NBD socket file.
Reported by: Thomas Huth <[email protected]>
Signed-off-by Max Reitz <[email protected]>--- tests/qemu-iotests/192 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)tests/qemu-iotests/192 +0
-0
tests/qemu-iotests/192 status=1 # failure is the default! · line 36
Quoted 9 lines
tests/qemu-iotests/192 +3
-1@@ -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
Thanks a lot! ... but Kevin was a little bit faster already:
https://lists.gnu.org/archive/html/qemu-devel/2019-05/msg01732.html
Thomas
Quoted 27 lines · Thomas Huth
Quoted 14 lines · Max Reitz
This patch makes 192 clean up the qemu command FIFOs, the qemu PID file, and the NBD socket file.
Reported by: Thomas Huth <[email protected]>
Signed-off-by Max Reitz <[email protected]>--- tests/qemu-iotests/192 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)tests/qemu-iotests/192 +0
-0tests/qemu-iotests/192 status=1 # failure is the default! · line 36
Quoted 9 lines
tests/qemu-iotests/192 +3
-1@@ -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 15Thanks a lot! ... but Kevin was a little bit faster already:
Dang. At least it looks basically the same, so that’s good. O:-)
Max