From: Johannes Sixt Date: Tue, 2 Dec 2008 08:31:01 +0000 (+0100) Subject: t4030-diff-textconv: Make octal escape sequence more portable X-Git-Tag: v1.6.1-rc2~23 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=deb13872becbc5fb49e3ab22dd9feaf4e429a853;p=git.git t4030-diff-textconv: Make octal escape sequence more portable There are printfs around that do not grok '\1', but need '\01'. Discovered on AIX 4.3.x. Signed-off-by: Johannes Sixt Signed-off-by: Junio C Hamano --- diff --git a/t/t4030-diff-textconv.sh b/t/t4030-diff-textconv.sh index 0b76e7c97..2f27a0ba9 100755 --- a/t/t4030-diff-textconv.sh +++ b/t/t4030-diff-textconv.sh @@ -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 '