test-lib.sh/test_decode_color(): use octal not hex in awk script
commitc2ed29b49b557b7bba8be147551cdd6e22fd743b
authorBrandon Casey <drafnel@gmail.com>
Wed, 22 Dec 2010 23:58:52 +0000 (22 15:58 -0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 23 Dec 2010 03:46:52 +0000 (22 19:46 -0800)
tree1a991ae05916036eea1b7a79a0503b938aa88e3b
parent77e572653b5089c9e3639fe4088f59e4cfef4eea
test-lib.sh/test_decode_color(): use octal not hex in awk script

POSIX awk seems to explicitly not support hexadecimal escape sequences.

From http://pubs.opengroup.org/onlinepubs/009695399/:

   Regular expressions in awk have been extended somewhat...
   One sequence that is not supported is hexadecimal value escapes
   beginning with '\x'.

This affects the awk on IRIX 6.5, and causes t4015.56 to fail.
Use octal instead.

Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/test-lib.sh