summaryrefslogtreecommitdiff
path: root/tests/misc
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2015-07-02 13:55:52 +0100
committerPádraig Brady <P@draigBrady.com>2015-07-02 19:15:08 +0100
commit970b89170206779e028fce6a28f0924c7e47bfd1 (patch)
treeafe7f895a35fafb83a96681d675e2ca000d7298c /tests/misc
parenta645ce6c04719ad616ecd3bd7a16cd14772d6a74 (diff)
downloadcoreutils-970b89170206779e028fce6a28f0924c7e47bfd1.tar.xz
tests: avoid false failures on OpenBSD 5.7
* tests/du/threshold.sh: Homogenize getopt error messages. * tests/misc/numfmt.pl: Likewise. * tests/mv/i-3.sh: Skip on *BSD not just FreeBSD.
Diffstat (limited to 'tests/misc')
-rwxr-xr-xtests/misc/numfmt.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/misc/numfmt.pl b/tests/misc/numfmt.pl
index fcda1ce03..0e4dc79c4 100755
--- a/tests/misc/numfmt.pl
+++ b/tests/misc/numfmt.pl
@@ -582,8 +582,9 @@ my @Tests =
# Invalid parameters
['help-1', '--foobar',
- {ERR=>"$prog: unrecognized option '--foobar'\n" .
+ {ERR=>"$prog: unrecognized option\n" .
"Try '$prog --help' for more information.\n"},
+ {ERR_SUBST=>"s/option.*/option/; s/unknown/unrecognized/"},
{EXIT=>1}],
## Format string - check error detection