@matheusbsbs / matheus-bagliano / commits / 8b02c64a3c
Fork 0

t5503: GIT_DEBUG_SEND_PACK is not supported on MinGW

The test opens fd 3 and instructs git-upload-pack (via GIT_DEBUG_SEND_PACK) to log information to that channel. The way in which new processes are spawned by git on MinGW does not inherit all file descriptors to the child processes, but only 0, 1, and 2. The tests in t5503 require that file descriptor 3 is inherited from git-fetch to git-upload-pack. A complete implementation is non-trivial and not warranted just to satisfy this test. Note that the incompleteness applies only to the executables that use compat/mingw.c; bash and perl (the other important executables used by git) are complete, of course. Signed-off-by: Johannes Sixt <j6t@kdbg.org>

Johannes Sixt committed Mar 20, 2009 at 22:03 UTC 8b02c64a3cb3a494ca5d704e3e05c4a2c45867c7
1 file changed +7
t/t5503-tagfollow.sh
+7
@@ -4,6 +4,13 @@ test_description='test automatic tag following'
4
5 . ./test-lib.sh
6
7 +case $(uname -s) in
8 +*MINGW*)
9 + say "GIT_DEBUG_SEND_PACK not supported - skipping tests"
10 + test_done
11 + exit
12 +esac
13 +
14 # End state of the repository:
15 #
16 # T - tag1 S - tag2