summaryrefslogtreecommitdiffstats
path: root/tests/qemu-iotests/041
diff options
context:
space:
mode:
authorMax Reitz2020-04-24 15:46:26 +0200
committerEric Blake2020-05-04 21:56:04 +0200
commite5ac52d8d405f46843465128410a8f1362458eb6 (patch)
treec4c932f6638cb457cc38b5ec439191569b139998 /tests/qemu-iotests/041
parenttools: Fix use of fcntl(F_SETFD) during socket activation (diff)
downloadqemu-e5ac52d8d405f46843465128410a8f1362458eb6.tar.gz
qemu-e5ac52d8d405f46843465128410a8f1362458eb6.tar.xz
qemu-e5ac52d8d405f46843465128410a8f1362458eb6.zip
iotests/041: Fix NBD socket path
We should put all UNIX socket files into the sock_dir, not test_dir. Reported-by: Elena Ufimtseva <elena.ufimtseva@oracle.com> Signed-off-by: Max Reitz <mreitz@redhat.com> Message-Id: <20200424134626.78945-1-mreitz@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Fixes: a1da1878607a Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/041')
-rwxr-xr-xtests/qemu-iotests/0412
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qemu-iotests/041 b/tests/qemu-iotests/041
index 5d67bf14bf..46bf1f6c81 100755
--- a/tests/qemu-iotests/041
+++ b/tests/qemu-iotests/041
@@ -35,7 +35,7 @@ quorum_img3 = os.path.join(iotests.test_dir, 'quorum3.img')
quorum_repair_img = os.path.join(iotests.test_dir, 'quorum_repair.img')
quorum_snapshot_file = os.path.join(iotests.test_dir, 'quorum_snapshot.img')
-nbd_sock_path = os.path.join(iotests.test_dir, 'nbd.sock')
+nbd_sock_path = os.path.join(iotests.sock_dir, 'nbd.sock')
class TestSingleDrive(iotests.QMPTestCase):
image_len = 1 * 1024 * 1024 # MB