Skip to content

Commit 4290f69

Browse files
committed
t0021: avoid getting filter killed with SIGPIPE
The fake filter did not read from the standard input at all, which caused the calling side to die with SIGPIPE, depending on the timing. Signed-off-by: Junio C Hamano <[email protected]>
1 parent a2b665d commit 4290f69

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

t/t0021-conversion.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ test_expect_success expanded_in_repo '
100100
test_expect_success 'filter shell-escaped filenames' '
101101
cat >argc.sh <<-EOF &&
102102
#!$SHELL_PATH
103+
cat >/dev/null
103104
echo argc: \$# "\$@"
104105
EOF
105106
normal=name-no-magic &&

0 commit comments

Comments
 (0)