Skip to content

Commit 4b84b51

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 <[email protected]>
1 parent 3d47c82 commit 4b84b51

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

t/t9001-send-email.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1088,8 +1088,8 @@ test_expect_success $PREREQ 'in-reply-to but no threading' '
10881088
10891089
--in-reply-to="<[email protected]>" \
10901090
--no-thread \
1091-
$patches |
1092-
grep "In-Reply-To: <[email protected]>"
1091+
$patches >out &&
1092+
grep "In-Reply-To: <[email protected]>" out
10931093
'
10941094

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

0 commit comments

Comments
 (0)