Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-12-23 02:18:47 +0300
committerJunio C Hamano <gitster@pobox.com>2010-12-23 02:18:47 +0300
commit4290f690676bc14c49c7cddbcda1c09017948718 (patch)
treed3d4250f8427c3e367bd6078994e1ca55de47fcf /t/t0021-conversion.sh
parenta2b665de4b694b04959f6371f9887f7ad5cae404 (diff)
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>
Diffstat (limited to 't/t0021-conversion.sh')
-rwxr-xr-xt/t0021-conversion.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/t0021-conversion.sh b/t/t0021-conversion.sh
index aacfd004b1..9078b84ae6 100755
--- 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 &&