Skip to content

Commit 749287a

Browse files
committed
mingw: disable mkfifo-based tests
MSYS2 (the POSIX emulation layer used by Git for Windows' Bash) actually has a working mkfifo. The only problem is that it is only emulating named pipes through the MSYS2 runtime; The Win32 API has no idea about named pipes, hence the Git executable cannot access those pipes either. The symptom is that Git fails with a '<name>: No such file or directory' because MSYS2 emulates named pipes through special-crafted '.lnk' files. The solution is to tell the test suite explicitly that we cannot use named pipes when we want to test on Windows. This lets t4056-diff-order.sh, t9010-svn-fe.sh and t9300-fast-import.sh pass. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 1b433d0 commit 749287a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/test-lib.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -998,7 +998,7 @@ test_i18ngrep () {
998998
test_lazy_prereq PIPE '
999999
# test whether the filesystem supports FIFOs
10001000
case $(uname -s) in
1001-
CYGWIN*)
1001+
CYGWIN*|MINGW*)
10021002
false
10031003
;;
10041004
*)

0 commit comments

Comments
 (0)