diff options
author | Junio C Hamano <gitster@pobox.com> | 2019-02-13 18:18:42 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-02-13 18:18:42 -0800 |
commit | 29825a8dbf77e268b90a05f633124e9db6b314e7 (patch) | |
tree | d2745e02869ca830190256f282763e2950cc3cd1 /t | |
parent | Merge branch 'bc/utf16-portability-fix' (diff) | |
parent | t0028: fix wrong octal values for BOM in setup (diff) | |
download | tgif-29825a8dbf77e268b90a05f633124e9db6b314e7.tar.xz |
Merge branch 'kd/t0028-octal-del-is-377-not-777'
Test fix.
* kd/t0028-octal-del-is-377-not-777:
t0028: fix wrong octal values for BOM in setup
Diffstat (limited to 't')
-rwxr-xr-x | t/t0028-working-tree-encoding.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/t/t0028-working-tree-encoding.sh b/t/t0028-working-tree-encoding.sh index 500229a9bd..1090e650ed 100755 --- a/t/t0028-working-tree-encoding.sh +++ b/t/t0028-working-tree-encoding.sh @@ -49,12 +49,12 @@ test_expect_success 'setup test files' ' # BOM tests printf "\0a\0b\0c" >nobom.utf16be.raw && printf "a\0b\0c\0" >nobom.utf16le.raw && - printf "\376\777\0a\0b\0c" >bebom.utf16be.raw && - printf "\777\376a\0b\0c\0" >lebom.utf16le.raw && + printf "\376\377\0a\0b\0c" >bebom.utf16be.raw && + printf "\377\376a\0b\0c\0" >lebom.utf16le.raw && printf "\0\0\0a\0\0\0b\0\0\0c" >nobom.utf32be.raw && printf "a\0\0\0b\0\0\0c\0\0\0" >nobom.utf32le.raw && - printf "\0\0\376\777\0\0\0a\0\0\0b\0\0\0c" >bebom.utf32be.raw && - printf "\777\376\0\0a\0\0\0b\0\0\0c\0\0\0" >lebom.utf32le.raw && + printf "\0\0\376\377\0\0\0a\0\0\0b\0\0\0c" >bebom.utf32be.raw && + printf "\377\376\0\0a\0\0\0b\0\0\0c\0\0\0" >lebom.utf32le.raw && # Add only UTF-16 file, we will add the UTF-32 file later cp test.utf16.raw test.utf16 && |