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 <gitster@pobox.com>
Junio C Hamano committed
Dec 22, 2010 at 15:18 UTC
4290f690676bc14c49c7cddbcda1c09017948718
1 file changed
+1
t/t0021-conversion.sh
+1
@@ -100,6 +100,7 @@ test_expect_success expanded_in_repo '
100
test_expect_success 'filter shell-escaped filenames' '
101
cat >argc.sh <<-EOF &&
102
#!$SHELL_PATH
103
+ cat >/dev/null
104
echo argc: \$# "\$@"
105
EOF
106
normal=name-no-magic &&