]> Savannah Git Hosting - gnulib.git/commit
test-framework-sh: work around AIX 7.2 diff bugs
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 15 Jan 2023 00:47:41 +0000 (16:47 -0800)
committerBruno Haible <bruno@clisp.org>
Fri, 20 Jan 2023 10:18:46 +0000 (11:18 +0100)
commitdb7eee77619929c87cae9997efb1e8ff101ea580
treeef9ad32b4df7d9bd1e46917d622b5b315dcd2343
parent2351bda972ee98d85cfb3a68a1b8520d787eacac
test-framework-sh: work around AIX 7.2 diff bugs

* tests/init.sh (compare_dev_null_): Run diff in the C locale.
AIX 7.2 diff messes up in UTF-8 locales; for example,
‘printf '\360\220\200\200\n' | diff - /dev/null’ incorrectly
outputs nothing and exits with status 0 when LC_ALL=en_US.UTF-8.
ChangeLog
tests/init.sh