Reported by Daniel Richard G. <skunk@iskunk.org>.
* tests/test-perror.sh: Don't fail z/OS style perror output.
+2017-02-28 Bruno Haible <bruno@clisp.org>
+
+ perror tests: Tweak for z/OS.
+ Reported by Daniel Richard G. <skunk@iskunk.org>.
+ * tests/test-perror.sh: Don't fail z/OS style perror output.
+
2017-02-26 Bruno Haible <bruno@clisp.org>
nproc: Refactor large function.
: ${srcdir=.}
. "$srcdir/init.sh"; path_prepend_ .
-# Test NULL prefix. Result should not contain a number.
+# Test NULL prefix. Result should not contain a number, except in lines that
+# start with 'EDC' (IBM z/OS libc produces an error identifier before the
+# error message).
test-perror 2>&1 >/dev/null | LC_ALL=C tr -d '\r' > t-perror.tmp
-grep '[0-9]' t-perror.tmp > /dev/null \
+grep -v '^EDC' t-perror.tmp | grep '[0-9]' > /dev/null \
&& fail_ "result should not contain a number"
# Test empty prefix. Result should be the same.