@matheusbsbs / matheus-bagliano / commits / deb13872be
Fork 0

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 <j6t@kdbg.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Johannes Sixt committed Dec 2, 2008 at 09:31 UTC deb13872becbc5fb49e3ab22dd9feaf4e429a853
1 file changed +1 -1
t/t4030-diff-textconv.sh
+1 -1
@@ -29,7 +29,7 @@ test_expect_success 'setup binary file with history' '
29 printf "\\0\\n" >file &&
30 git add file &&
31 git commit -m one &&
32 - printf "\\1\\n" >>file &&
32 + printf "\\01\\n" >>file &&
33 git add file &&
34 git commit -m two
35 '