author | Jonathan Nieder <jrnieder@gmail.com> | |
Tue, 21 Dec 2010 20:27:55 +0000 (14:27 -0600) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 21 Dec 2010 21:26:32 +0000 (13:26 -0800) | ||
commit | 77e572653b5089c9e3639fe4088f59e4cfef4eea | |
tree | 57a8456ae8c0ec4a7e77ee0057c2a3208feb922a | tree | snapshot |
parent | 00f66f0e4913110e19972a71a150a7b9d1bfd02f | commit | diff |
t0050: fix printf format strings for portability
Unlike bash and ksh, dash passes through hexadecimal \xcc escapes.
So when run with dash, these tests *pass* (since '\xcc' is a perfectly
reasonable filename) but they are not testing what was intended.
Use octal escapes instead, in the spirit of v1.6.1-rc1~55^2
(2008-11-09).
Reported-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Unlike bash and ksh, dash passes through hexadecimal \xcc escapes.
So when run with dash, these tests *pass* (since '\xcc' is a perfectly
reasonable filename) but they are not testing what was intended.
Use octal escapes instead, in the spirit of v1.6.1-rc1~55^2
(2008-11-09).
Reported-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t0050-filesystem.sh | diff | blob | history |