Skip to content

Commit b84c6db

Browse files
kasaldscho
authored andcommitted
tests: turn off git-daemon tests if FIFOs are not available
Signed-off-by: Stepan Kasal <[email protected]>
1 parent 31ef388 commit b84c6db

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

t/lib-git-daemon.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ then
2323
test_done
2424
fi
2525

26+
if ! test_have_prereq PIPE
27+
then
28+
test_skip_or_die $GIT_TEST_GIT_DAEMON "file system does not support FIFOs"
29+
fi
30+
2631
LIB_GIT_DAEMON_PORT=${LIB_GIT_DAEMON_PORT-${this_test#t}}
2732

2833
GIT_DAEMON_PID=

0 commit comments

Comments
 (0)