From: Junio C Hamano Date: Wed, 22 Dec 2010 23:18:47 +0000 (-0800) Subject: t0021: avoid getting filter killed with SIGPIPE X-Git-Tag: v1.7.4-rc1~4^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/4290f690676bc14c49c7cddbcda1c09017948718?ds=inline;hp=--cc 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 --- 4290f690676bc14c49c7cddbcda1c09017948718 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 &&