Browse Source

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>
maint
Johannes Sixt 16 years ago committed by Junio C Hamano
parent
commit
deb13872be
  1. 2
      t/t4030-diff-textconv.sh

2
t/t4030-diff-textconv.sh

@ -29,7 +29,7 @@ test_expect_success 'setup binary file with history' ' @@ -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
'

Loading…
Cancel
Save