X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft4030-diff-textconv.sh;h=2f27a0ba9ec002b1a6e4d3bd0ed1dc7484d4d14e;hb=0aac1614e976164259edf5f950da4cbebe069466;hp=03ba26a0de7d1bf41269cfb1f1b9f33b733482e1;hpb=6d14414d21973580547ca1935b2692a43c0b0b5f;p=git.git diff --git a/t/t4030-diff-textconv.sh b/t/t4030-diff-textconv.sh index 03ba26a0d..2f27a0ba9 100755 --- a/t/t4030-diff-textconv.sh +++ b/t/t4030-diff-textconv.sh @@ -21,7 +21,7 @@ EOF cat >hexdump <<'EOF' #!/bin/sh -perl -e '$/ = undef; $_ = <>; s/./ord($&)/ge; print $_' "$1" +perl -e '$/ = undef; $_ = <>; s/./ord($&)/ge; print $_' < "$1" EOF chmod +x hexdump @@ -29,7 +29,7 @@ test_expect_success 'setup binary file with history' ' printf "\\0\\n" >file && git add file && git commit -m one && - printf "\\1\\n" >>file && + printf "\\01\\n" >>file && git add file && git commit -m two '