[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 13/23] iotests/192: Create socket in $SOCK_DIR
From: |
Max Reitz |
Subject: |
[PATCH v2 13/23] iotests/192: Create socket in $SOCK_DIR |
Date: |
Thu, 17 Oct 2019 15:31:45 +0200 |
Signed-off-by: Max Reitz <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
---
tests/qemu-iotests/192 | 4 ++--
tests/qemu-iotests/192.out | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/tests/qemu-iotests/192 b/tests/qemu-iotests/192
index 034432272f..d2ba55dd90 100755
--- a/tests/qemu-iotests/192
+++ b/tests/qemu-iotests/192
@@ -31,7 +31,7 @@ _cleanup()
{
_cleanup_qemu
_cleanup_test_img
- rm -f "$TEST_DIR/nbd"
+ rm -f "$SOCK_DIR/nbd"
}
trap "_cleanup; exit \$status" 0 1 2 3 15
@@ -66,7 +66,7 @@ else
QEMU_COMM_TIMEOUT=1
fi
-_send_qemu_cmd $h "nbd_server_start unix:$TEST_DIR/nbd" "(qemu)"
+_send_qemu_cmd $h "nbd_server_start unix:$SOCK_DIR/nbd" "(qemu)"
_send_qemu_cmd $h "nbd_server_add -w drive0" "(qemu)"
_send_qemu_cmd $h "q" "(qemu)"
diff --git a/tests/qemu-iotests/192.out b/tests/qemu-iotests/192.out
index 1e0be4c4d7..b9429dbe36 100644
--- a/tests/qemu-iotests/192.out
+++ b/tests/qemu-iotests/192.out
@@ -1,7 +1,7 @@
QA output created by 192
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
QEMU X.Y.Z monitor - type 'help' for more information
-(qemu) nbd_server_start unix:TEST_DIR/nbd
+(qemu) nbd_server_start unix:SOCK_DIR/nbd
(qemu) nbd_server_add -w drive0
(qemu) q
*** done
--
2.21.0
- [PATCH v2 03/23] iotests.py: Add @base_dir to FilePaths etc., (continued)
- [PATCH v2 03/23] iotests.py: Add @base_dir to FilePaths etc., Max Reitz, 2019/10/17
- [PATCH v2 05/23] iotests: Let common.nbd create socket in $SOCK_DIR, Max Reitz, 2019/10/17
- [PATCH v2 04/23] iotests: Filter $SOCK_DIR, Max Reitz, 2019/10/17
- [PATCH v2 06/23] iotests/083: Create socket in $SOCK_DIR, Max Reitz, 2019/10/17
- [PATCH v2 07/23] iotests/140: Create socket in $SOCK_DIR, Max Reitz, 2019/10/17
- [PATCH v2 08/23] iotests/143: Create socket in $SOCK_DIR, Max Reitz, 2019/10/17
- [PATCH v2 09/23] iotests/147: Create socket in $SOCK_DIR, Max Reitz, 2019/10/17
- [PATCH v2 10/23] iotests/181: Create socket in $SOCK_DIR, Max Reitz, 2019/10/17
- [PATCH v2 13/23] iotests/192: Create socket in $SOCK_DIR,
Max Reitz <=
- [PATCH v2 14/23] iotests/194: Create sockets in $SOCK_DIR, Max Reitz, 2019/10/17
- [PATCH v2 16/23] iotests/205: Create socket in $SOCK_DIR, Max Reitz, 2019/10/17
- [PATCH v2 12/23] iotests/183: Create socket in $SOCK_DIR, Max Reitz, 2019/10/17
- [PATCH v2 11/23] iotests/182: Create socket in $SOCK_DIR, Max Reitz, 2019/10/17
- [PATCH v2 15/23] iotests/201: Create socket in $SOCK_DIR, Max Reitz, 2019/10/17
- [PATCH v2 17/23] iotests/208: Create socket in $SOCK_DIR, Max Reitz, 2019/10/17
- [PATCH v2 21/23] iotests/240: Create socket in $SOCK_DIR, Max Reitz, 2019/10/17