From 970b89170206779e028fce6a28f0924c7e47bfd1 Mon Sep 17 00:00:00 2001 From: Pádraig Brady Date: Thu, 2 Jul 2015 13:55:52 +0100 Subject: 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. --- tests/misc/numfmt.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/misc') 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 -- cgit v1.2.3-70-g09d2