Max Reitz
c7df3f19d2
iotests: Introduce $SOCK_DIR
...
Unix sockets generally have a maximum path length. Depending on your
$TEST_DIR, it may be exceeded and then all tests that create and use
Unix sockets there may fail.
Circumvent this by adding a new scratch directory specifically for
Unix socket files. It defaults to a temporary directory (mktemp -d)
that is completely removed after the iotests are done.
(By default, mktemp -d creates a /tmp/tmp.XXXXXXXXXX directory, which
should be short enough for our use cases.)
Use mkdir -p to create the directory (because it seems right), and do
the same for $TEST_DIR (because there is no reason for that to be
created in any different way).
Signed-off-by: Max Reitz <mreitz@redhat.com>
Message-id: 20191017133155.5327-2-mreitz@redhat.com
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
2019-10-28 11:22:30 +01:00
..
2019-10-25 18:37:01 +02:00
2019-10-05 17:27:43 -04:00
2019-08-19 08:03:41 -07:00
2019-10-25 19:24:21 +01:00
2019-09-05 13:18:52 +02:00
2019-10-21 18:14:43 +02:00
2019-07-30 12:25:43 +02:00
2019-10-22 13:54:13 +02:00
2019-10-28 11:22:30 +01:00
2019-09-30 11:02:22 +01:00
2019-10-07 15:14:15 +02:00
2019-10-25 19:24:21 +01:00
2019-06-12 13:18:33 +02:00
2019-09-05 13:18:52 +02:00
2019-10-05 17:27:43 -04:00
2019-10-05 17:25:55 -04:00
2019-09-07 08:32:34 +02:00
2019-10-01 11:54:17 +02:00
2019-09-03 14:56:06 +02:00
2019-08-21 10:27:13 +02:00
2019-10-15 18:18:08 -03:00
2019-06-12 13:20:21 +02:00
2019-06-12 13:20:21 +02:00
2019-09-05 13:18:52 +02:00
2019-08-15 19:23:59 +02:00
2019-06-12 13:18:33 +02:00
2019-09-05 13:18:52 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-09-05 13:18:52 +02:00
2019-09-05 13:18:52 +02:00
2019-09-05 13:18:52 +02:00
2019-09-05 13:18:52 +02:00
2019-06-12 13:20:20 +02:00
2019-09-05 13:18:52 +02:00
2019-10-14 09:48:01 +01:00
2019-09-20 14:08:10 -05:00
2019-09-05 13:18:52 +02:00
2019-06-12 13:18:33 +02:00
2019-09-05 13:18:52 +02:00
2019-09-05 13:18:52 +02:00
2019-10-15 18:18:08 -03:00
2019-10-15 18:18:08 -03:00
2019-09-05 13:18:52 +02:00
2019-07-02 14:17:15 +02:00
2019-10-22 13:53:55 +02:00
2019-08-15 19:23:59 +02:00
2019-10-03 12:48:42 +02:00
2019-09-02 10:52:22 +01:00
2019-06-12 13:18:33 +02:00
2019-08-15 19:23:59 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-07-02 02:34:55 +02:00
2019-08-29 09:45:53 +10:00
2019-08-20 17:26:21 +02:00
2019-10-15 18:09:02 +01:00
2019-08-15 19:23:59 +02:00
2019-09-05 13:18:52 +02:00
2019-09-20 17:13:41 -04:00
2019-09-05 13:18:52 +02:00
2019-10-24 20:13:10 +02:00
2019-09-05 13:18:52 +02:00
2019-06-12 13:18:33 +02:00
2019-08-22 17:30:25 +04:00
2019-08-22 17:30:25 +04:00
2019-06-12 13:18:33 +02:00
2019-09-05 13:18:52 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-09-10 08:58:43 +02:00
2019-08-16 13:31:52 +02:00
2019-08-20 20:00:51 +02:00
2019-08-16 13:31:52 +02:00
2019-09-10 08:58:43 +02:00
2019-09-10 08:58:43 +02:00
2019-09-10 08:58:43 +02:00
2019-10-04 18:49:18 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:20:20 +02:00
2019-06-12 13:20:20 +02:00
2019-10-17 17:02:32 -04:00
2019-08-16 13:31:52 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-09-03 23:24:42 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00
2019-09-05 13:18:52 +02:00
2019-08-16 13:31:53 +02:00
2019-09-28 16:51:30 +02:00
2019-10-22 13:54:13 +02:00
2019-08-16 13:31:52 +02:00
2019-08-20 17:26:19 +02:00
2019-08-20 17:26:19 +02:00
2019-09-11 10:29:27 +01:00
2019-09-03 23:24:42 +02:00
2019-10-11 17:52:31 +01:00
2019-09-05 13:18:52 +02:00
2019-07-05 17:08:03 -03:00
2019-09-05 13:18:52 +02:00
2019-06-12 13:18:33 +02:00
2019-09-05 13:18:52 +02:00
2019-09-03 23:24:42 +02:00
2019-09-05 13:18:52 +02:00
2019-06-12 13:18:33 +02:00
2019-09-05 13:18:52 +02:00
2019-10-01 11:42:27 +02:00
2019-09-05 13:18:52 +02:00
2019-09-05 13:18:52 +02:00
2019-09-05 13:18:52 +02:00
2019-07-04 17:00:32 -04:00
2019-09-05 13:18:52 +02:00
2019-09-05 13:18:52 +02:00
2019-09-05 13:18:52 +02:00
2019-09-05 13:18:52 +02:00
2019-09-05 13:18:52 +02:00
2019-08-15 19:24:10 +02:00
2019-09-05 13:18:52 +02:00
2019-09-05 13:18:52 +02:00
2019-06-12 13:18:33 +02:00
2019-06-12 13:18:33 +02:00