tests: turn off git-daemon tests if FIFOs are not available
commita390d7e8f96fbc40e8eaf5180e3e1422f5d7ddc2
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Wed, 27 Jan 2016 16:19:48 +0000 (27 17:19 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 28 Jan 2016 21:35:54 +0000 (28 13:35 -0800)
tree76f8c45f0428135fc5517a6c69f6f58f5d78520c
parenta1f32964daace31cb89bb153731528de6a16b351
tests: turn off git-daemon tests if FIFOs are not available

The Git daemon tests create a FIFO first thing and will hang if said
FIFO is not available.

This is a problem with Git for Windows, where `mkfifo` is an MSYS2
program that leverages MSYS2's POSIX emulation layer, but
`git-daemon.exe` is a MINGW program that has not the first clue about
that POSIX emulation layer and therefore blinks twice when it sees
MSYS2's emulated FIFOs and then just stares into space.

This lets t5570-git-daemon.sh and t5811-proto-disable-git.sh pass.

Signed-off-by: Stepan Kasal <kasal@ucw.cz>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/lib-git-daemon.sh