mirror of
https://https.git.savannah.gnu.org/git/gnulib.git
synced 2026-09-01 02:34:55 +00:00
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.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
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.
|
||||
|
||||
@@ -2,9 +2,11 @@
|
||||
: ${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.
|
||||
|
||||
Reference in New Issue
Block a user