]> git.ipfire.org Git - thirdparty/git.git/commit
t9700/test.pl: fix path type expectation on cygwin
authorRamsay Jones <ramsay@ramsayjones.plus.com>
Fri, 16 Jan 2026 20:39:44 +0000 (20:39 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 16 Jan 2026 21:59:57 +0000 (13:59 -0800)
commitc381a2149082397b07eaf4b96ff67375d2aab159
tree4763c3753a07cbde9e8a122165d591aea404fad1
parent68cb7f9e92a5d8e9824f5b52ac3d0a9d8f653dbe
t9700/test.pl: fix path type expectation on cygwin

Commit 4ec7ac101b ("t9700: accommodate for Windows paths", 2025-12-17)
changed the type of the absolute path to the git directory from unix to
win32 for both GfW and cygwin. This fixed the test for GfW but causes
new failures on cygwin, since the test expectation is that it uses unix
paths on cygwin. In order to not break cygwin, disable the new code by
removing the "or $^O eq 'cygwin'" sub-expression from the conditional
part of the fix.

Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t9700/test.pl