diff options
author | Max Reitz <mreitz@redhat.com> | 2019-10-17 15:31:54 +0200 |
---|---|---|
committer | Max Reitz <mreitz@redhat.com> | 2019-10-28 11:22:31 +0100 |
commit | f0e24942fc93708aa971bf4142b97b40d198700c (patch) | |
tree | 24d0227e02aeead6e13f4471e9d47dd7bb1bd5c5 /tests/qemu-iotests/267 | |
parent | 5b2da7f7cc5c03e611ca6c70151fbe7275ea3d52 (diff) | |
download | qemu-f0e24942fc93708aa971bf4142b97b40d198700c.zip qemu-f0e24942fc93708aa971bf4142b97b40d198700c.tar.gz qemu-f0e24942fc93708aa971bf4142b97b40d198700c.tar.bz2 |
iotests/267: Create socket in $SOCK_DIR
Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-id: 20191017133155.5327-23-mreitz@redhat.com
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/267')
-rwxr-xr-x | tests/qemu-iotests/267 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/qemu-iotests/267 b/tests/qemu-iotests/267 index d37a67c..170e173 100755 --- a/tests/qemu-iotests/267 +++ b/tests/qemu-iotests/267 @@ -29,7 +29,7 @@ status=1 # failure is the default! _cleanup() { _cleanup_test_img - rm -f "$TEST_DIR/nbd" + rm -f "$SOCK_DIR/nbd" } trap "_cleanup; exit \$status" 0 1 2 3 15 @@ -143,7 +143,7 @@ echo IMGOPTS="backing_file=$TEST_IMG.base" _make_test_img $size cat <<EOF | -nbd_server_start unix:$TEST_DIR/nbd +nbd_server_start unix:$SOCK_DIR/nbd nbd_server_add -w backing-fmt savevm snap0 info snapshots |