Bruno Haible wrote: > On OpenBSD 5.1/SPARC64, there are 6 test failures: ... > FAIL: misc/factor > ================= ... > factor: test z: stderr mismatch, comparing z.E (actual) and z.1 (expected) > *** z.E Fri Mar 16 12:10:27 2012 > --- z.1 Fri Mar 16 12:10:27 2012 > *************** > *** 1,2 **** > ! factor: unknown option -- 1 > Try 'factor --help' for more information. > --- 1,2 ---- > ! factor: invalid option -- 1 > Try 'factor --help' for more information.
Thanks. At least this one is trivial to fix: >From daf9286020bff6457ab2efc9022361ba828d6e39 Mon Sep 17 00:00:00 2001 From: Jim Meyering <meyer...@redhat.com> Date: Sat, 17 Mar 2012 17:05:41 +0100 Subject: [PATCH] tests: avoid spurious misc/factor failure on OpenBSD 5.1 * tests/misc/factor: Map OpenBSD 5.1's "unknown option" to our expected "invalid option". Reported by Bruno Haible. --- tests/misc/factor | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/misc/factor b/tests/misc/factor index fffd50b..47f9343 100755 --- a/tests/misc/factor +++ b/tests/misc/factor @@ -57,7 +57,9 @@ my @Tests = ['x', '4294966896', {OUT => '2 2 2 2 3 3 3 11 607 1489'}], ['y', '4294966998', {OUT => '2 3 7 3917 26107'}], ['z', '-1', - {ERR_SUBST => q!s/'1'/1/!}, # map newer glibc diagnostic to expected. + # Map newer glibc diagnostic to expected. + # Also map OpenBSD 5.1's "unknown option" to expected "invalid option". + {ERR_SUBST => q!s/'1'/1/;s/unknown/invalid/!}, {ERR => "$prog: invalid option -- 1\n" . "Try '$prog --help' for more information.\n"}, {EXIT => 1}], -- 1.7.10.rc1.9.g214d2