tests/unpack-valid: port to printf that do not grok hex
authorJim Meyering <meyering@fb.com>
Sun, 29 Oct 2017 18:46:07 +0000 (11:46 -0700)
committerJim Meyering <meyering@fb.com>
Sun, 29 Oct 2017 18:51:32 +0000 (11:51 -0700)
commit89fce1562e54a4198bf15ba1daf241fb9460474a
tree8e852160dc101e502a6a3844a9fe0af5fd44c81d
parentcf217a9713acb1f49f810c8362fefc47ab81c9e0
tests/unpack-valid: port to printf that do not grok hex

Many versions of printf do not handle hexadecimal in a format string,
so this test would fail.
* tests/init.cfg (hex_printf_): Copied from grep's tests/init.cfg.
* tests/unpack-valid: Use hex_printf_.
Reported by Bruno Haible in https://bugs.gnu.org/29033#26
tests/init.cfg
tests/unpack-valid