From: Junio C Hamano Date: Wed, 10 Dec 2008 19:39:07 +0000 (-0800) Subject: Fix t4031 X-Git-Tag: v1.6.1-rc3~9 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/de749a972d3e262de27928785c83c7b286a18df0?ds=inline;hp=--cc Fix t4031 When I tweaked the patch to use $SHELL_PATH instead of a hard-coded "#!/bin/sh" to produce 3aa1f7c (diff: respect textconv in rewrite diffs, 2008-12-09), I screwed up. This should fix it. Signed-off-by: Junio C Hamano --- de749a972d3e262de27928785c83c7b286a18df0 diff --git a/t/t4031-diff-rewrite-binary.sh b/t/t4031-diff-rewrite-binary.sh index 157ed85a79..a894c60622 100755 --- a/t/t4031-diff-rewrite-binary.sh +++ b/t/t4031-diff-rewrite-binary.sh @@ -46,7 +46,7 @@ test_expect_success 'rewrite diff can show binary patch' ' { echo "#!$SHELL_PATH" - cat >dump <<'EOF' + cat <<'EOF' perl -e '$/ = undef; $_ = <>; s/./ord($&)/ge; print $_' < "$1" EOF } >dump