]> 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)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 15 Jan 2023 00:49:16 +0000 (16:49 -0800)
commit2647256a786c5900897fc15130688991503dae25
tree1b64cb41e802471bafc31a5b7fca358b590f6006
parent6985db4b6da04c01d84ef4842a958facc872293a
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