提交 4290f690 编写于 作者: J Junio C Hamano

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: NJunio C Hamano <gitster@pobox.com>
上级 a2b665de
...@@ -100,6 +100,7 @@ test_expect_success expanded_in_repo ' ...@@ -100,6 +100,7 @@ test_expect_success expanded_in_repo '
test_expect_success 'filter shell-escaped filenames' ' test_expect_success 'filter shell-escaped filenames' '
cat >argc.sh <<-EOF && cat >argc.sh <<-EOF &&
#!$SHELL_PATH #!$SHELL_PATH
cat >/dev/null
echo argc: \$# "\$@" echo argc: \$# "\$@"
EOF EOF
normal=name-no-magic && normal=name-no-magic &&
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册