]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
iotests: Fix 205 for concurrent runs
authorMax Reitz <mreitz@redhat.com>
Tue, 18 Jun 2019 21:02:38 +0000 (23:02 +0200)
committerMax Reitz <mreitz@redhat.com>
Mon, 24 Jun 2019 14:01:40 +0000 (16:01 +0200)
Tests should place their files into the test directory.  This includes
Unix sockets.  205 currently fails to do so, which prevents it from
being run concurrently.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Message-id: 20190618210238.9524-1-mreitz@redhat.com
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
tests/qemu-iotests/205

index 69f2c1d392de3cd0a866e0899b05fddb96bcac14..b8a86c446eaac0de2ba70058284ead1d15201c90 100755 (executable)
@@ -24,7 +24,7 @@ import iotests
 import time
 from iotests import qemu_img_create, qemu_io, filter_qemu_io, QemuIoInteractive
 
-nbd_sock = 'nbd_sock'
+nbd_sock = os.path.join(iotests.test_dir, 'nbd_sock')
 nbd_uri = 'nbd+unix:///exp?socket=' + nbd_sock
 disk = os.path.join(iotests.test_dir, 'disk')