Skip to content

Commit

Permalink
t0021: avoid getting filter killed with SIGPIPE
Browse files Browse the repository at this point in the history
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 <gitster@pobox.com>
  • Loading branch information
Junio C Hamano committed Dec 22, 2010
1 parent a2b665d commit 4290f69
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions t/t0021-conversion.sh
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ test_expect_success expanded_in_repo '
test_expect_success 'filter shell-escaped filenames' '
cat >argc.sh <<-EOF &&
#!$SHELL_PATH
cat >/dev/null
echo argc: \$# "\$@"
EOF
normal=name-no-magic &&
Expand Down

0 comments on commit 4290f69

Please sign in to comment.