t5303: fix printf format string for portability
commita2d2c478f325690e1575e14e7d310fd7435d83be
authorJunio C Hamano <gitster@pobox.com>
Sun, 9 Nov 2008 21:11:06 +0000 (9 13:11 -0800)
committerJunio C Hamano <gitster@pobox.com>
Sun, 9 Nov 2008 21:11:06 +0000 (9 13:11 -0800)
treeaa9d05c4e460d692016d477275fde9be38d434d6
parent8c1f6f6c5797d1a3fa9ec9d38ae30b4f19e70a3c
t5303: fix printf format string for portability

printf "\x01" is bad; write printf "\001" for portability.

Testing with dash is a good way to find this kind of POSIX.1 violation
breakages.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5303-pack-corruption-resilience.sh