summaryrefslogtreecommitdiff
path: root/tests/split
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2014-12-25 02:21:11 +0000
committerPádraig Brady <P@draigBrady.com>2014-12-25 02:30:05 +0000
commit3b7c9d1a31a183b903de9c1396a17b4ee64f09f8 (patch)
treef4b4532d1cae9d08fdfd5d52bd38c60981e59c77 /tests/split
parent6894816c653adef54f3a85becbf75a865d6d39d6 (diff)
downloadcoreutils-3b7c9d1a31a183b903de9c1396a17b4ee64f09f8.tar.xz
tests: fix error message check on some systems
http://hydra.nixos.org/build/18129583 identified (on OS X) an incorrect test assumption in the previous commit. * gl/lib/xdectoint.c (__xnumtoint): Suppress the EINVAL error message as it's redundant in this context. * tests/misc/tail.pl: Suppress _optionally_ appended strerror messages. * tests/fmt/base.pl: Likewise. * tests/pr/pr-tests.pl: Likewise. * tests/split/l-chunk.sh: Likewise.
Diffstat (limited to 'tests/split')
-rwxr-xr-xtests/split/l-chunk.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/split/l-chunk.sh b/tests/split/l-chunk.sh
index 39ee4dc03..000b527da 100755
--- a/tests/split/l-chunk.sh
+++ b/tests/split/l-chunk.sh
@@ -55,7 +55,7 @@ printf "%s" "$lines" | tr '~' '\n' > in || framework_failure_
echo "split: invalid chunk number: '16'" > exp
split -n l/16/15 in 2>err.t && fail=1
-sed 's/:[^:]*$//' < err.t > err || framework_failure_
+sed "s/': .*/'/" < err.t > err || framework_failure_
compare exp err || fail=1
printf '%s' "\