tests: numfmt: fix false failures on some systems
commit606f54d157c3d9d558bdbe41da8d108993d86aeb
authorPádraig Brady <P@draigBrady.com>
Tue, 26 Mar 2024 19:17:16 +0000 (26 19:17 +0000)
committerPádraig Brady <P@draigBrady.com>
Tue, 26 Mar 2024 20:09:35 +0000 (26 20:09 +0000)
tree82c58bed738ee601a50c1644e062767b48120b1e
parent6e2b4769cc0690075dfda0a297fab043411b7c7c
tests: numfmt: fix false failures on some systems

* tests/misc/numfmt.pl: Verify that printf field width specs
count characters and not bytes before enabling locale tests.
This was seen on FreeBSD 14.0 and Solaris 11 OpenIndiana.
Reported by Bruno Haible
tests/misc/numfmt.pl