test: Test the same things with unix: that we do with tcp:
authorSimon McVittie <smcv@collabora.com>
Mon, 4 Jun 2018 15:27:49 +0000 (16:27 +0100)
committerSimon McVittie <smcv@collabora.com>
Mon, 4 Jun 2018 16:56:04 +0000 (17:56 +0100)
commitd0837e911d95851e5fc5067ad5b324316ec2666f
treed2b100a4ba807b2e28b0c290a2f412a5037ead64
parent102129f86a8d0f43e2d8002a46c8a6278e389e46
test: Test the same things with unix: that we do with tcp:

Minimal autobuilder environments don't always have working TCP,
so we may need to skip TCP tests. Make sure we test the equivalent
code paths via Unix sockets in those environments.

One notable exception is test/fdpass.c, which uses TCP as a transport
that is known not to be able to carry Unix fds; this needs to continue
to use TCP.

Signed-off-by: Simon McVittie <smcv@collabora.com>
Reviewed-by: Philip Withnall <withnall@endlessm.com>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=106812
(cherry picked from commit cb7dd5bfccb2882d0e9951c41040ff6a97bb827d)
test/corrupt.c
test/internals/refs.c
test/internals/server-oom.c
test/loopback.c
test/relay.c