From: Max Reitz Date: Thu, 17 Oct 2019 13:31:53 +0000 (+0200) Subject: iotests/240: Create socket in $SOCK_DIR X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=5b2da7f7cc5c03e611ca6c70151fbe7275ea3d52;p=qemu.git iotests/240: Create socket in $SOCK_DIR Signed-off-by: Max Reitz Reviewed-by: Eric Blake Message-id: 20191017133155.5327-22-mreitz@redhat.com Reviewed-by: Thomas Huth Signed-off-by: Max Reitz --- diff --git a/tests/qemu-iotests/240 b/tests/qemu-iotests/240 index f73bc07d80..8b4337b58d 100755 --- a/tests/qemu-iotests/240 +++ b/tests/qemu-iotests/240 @@ -29,7 +29,7 @@ status=1 # failure is the default! _cleanup() { - rm -f "$TEST_DIR/nbd" + rm -f "$SOCK_DIR/nbd" } trap "_cleanup; exit \$status" 0 1 2 3 15 @@ -135,7 +135,7 @@ echo run_qemu <