Skip to content

Commit 145167a

Browse files
committed
t9001: work around hard-to-debug hangs
Just like the workaround we added for t9116, t9001.83 hangs sometimes -- but not always! -- when being run in the Git for Windows SDK. The issue seems to be related to redirection via a pipe, but it is really hard to diagnose, what with git.exe (a non-MSYS2 program) calling a Perl script (which is executed by an MSYS2 Perl), piping into another MSYS2 program. As hunting time is scarce these days, simply work around this for now and leave the real diagnosis and resolution for later. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent 6962a73 commit 145167a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

t/t9001-send-email.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -1165,8 +1165,8 @@ test_expect_success $PREREQ 'in-reply-to but no threading' '
11651165
--to=nobody@example.com \
11661166
--in-reply-to="<in-reply-id@example.com>" \
11671167
--no-thread \
1168-
$patches |
1169-
grep "In-Reply-To: <in-reply-id@example.com>"
1168+
$patches >out &&
1169+
grep "In-Reply-To: <in-reply-id@example.com>" out
11701170
'
11711171

11721172
test_expect_success $PREREQ 'no in-reply-to and no threading' '

0 commit comments

Comments
 (0)