iotests/277: Use iotests.sock_dir for socket creation
commitacf2b9fce9f402b070a65bea584582df0378da9e
authorAndrey Drobyshev <andrey.drobyshev@virtuozzo.com>
Wed, 24 Jan 2024 16:22:57 +0000 (24 18:22 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 26 Jan 2024 11:27:41 +0000 (26 12:27 +0100)
tree524502ee9b4fdd45bae4019ff1f4fc2125dc2a0d
parentc9c0b37ff4c11b712b21efabe8e5381d223d0295
iotests/277: Use iotests.sock_dir for socket creation

If socket path is too long (longer than 108 bytes), socket can't be
opened.  This might lead to failure when test dir path is long enough.
Make sure socket is created in iotests.sock_dir to avoid such a case.

This commit basically aligns iotests/277 with the rest of iotests.

Signed-off-by: Andrey Drobyshev <andrey.drobyshev@virtuozzo.com>
Message-ID: <20240124162257.168325-1-andrey.drobyshev@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/277