Skip to content

Commit 644b16c

Browse files
committed
Tests (MinGW): Disable mkfifo-based tests
With MSys2, there is actually an implementation of mkfifo available. 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 a MinGW Git. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 2333fd8 commit 644b16c

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
@@ -994,7 +994,7 @@ test_i18ngrep () {
994994
test_lazy_prereq PIPE '
995995
# test whether the filesystem supports FIFOs
996996
case $(uname -s) in
997-
CYGWIN*)
997+
CYGWIN*|MINGW*)
998998
false
999999
;;
10001000
*)

0 commit comments

Comments
 (0)