projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2b665d
)
t0021: avoid getting filter killed with SIGPIPE
author
Junio C Hamano
<gitster@pobox.com>
Wed, 22 Dec 2010 23:18:47 +0000
(15:18 -0800)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 22 Dec 2010 23:18:47 +0000
(15:18 -0800)
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>
t/t0021-conversion.sh
patch
|
blob
|
history
diff --git
a/t/t0021-conversion.sh
b/t/t0021-conversion.sh
index aacfd004b1f2908f955dc7d89dd64b9db35ade19..9078b84ae68b430285312749f62daee103dcc428 100755
(executable)
--- a/
t/t0021-conversion.sh
+++ b/
t/t0021-conversion.sh
@@
-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 &&