Skip to content

Commit 5512371

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 17db850 commit 5512371

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
@@ -1109,8 +1109,8 @@ test_expect_success $PREREQ 'in-reply-to but no threading' '
11091109
11101110
--in-reply-to="<[email protected]>" \
11111111
--no-thread \
1112-
$patches |
1113-
grep "In-Reply-To: <[email protected]>"
1112+
$patches >out &&
1113+
grep "In-Reply-To: <[email protected]>" out
11141114
'
11151115

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

0 commit comments

Comments
 (0)