iotests/264: Use iotests.sock_dir for socket creation
authorAndrey Drobyshev <andrey.drobyshev@virtuozzo.com>
Thu, 25 Jan 2024 13:52:37 +0000 (15:52 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 26 Jan 2024 10:17:18 +0000 (11:17 +0100)
commit85d5d2b255b63a03fbbfebf85eaeb5eb525d5f9c
treee025c47569c48ddba7bb9687bc282bb7a106e1c7
parenta26d018c94ec367172d8376f00be4a31f74bf0d2
iotests/264: 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/264 with the rest of iotests.

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