Commit e5ac52d8 authored by Max Reitz's avatar Max Reitz Committed by Eric Blake
Browse files

iotests/041: Fix NBD socket path



We should put all UNIX socket files into the sock_dir, not test_dir.

Reported-by: default avatarElena Ufimtseva <elena.ufimtseva@oracle.com>
Signed-off-by: default avatarMax Reitz <mreitz@redhat.com>
Message-Id: <20200424134626.78945-1-mreitz@redhat.com>
Reviewed-by: default avatarEric Blake <eblake@redhat.com>
Fixes: a1da1878
Reviewed-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: default avatarEric Blake <eblake@redhat.com>
parent 474a6e64
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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