X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft4030-diff-textconv.sh;h=2f27a0ba9ec002b1a6e4d3bd0ed1dc7484d4d14e;hb=2b5189e51855312a91dd23b5e7311c48944bc382;hp=03ba26a0de7d1bf41269cfb1f1b9f33b733482e1;hpb=b2b80c107f6db4c3297af59fd2fb40ada5899778;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 '