summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-03-29 00:11:15 +0100
committerJim Meyering <meyering@redhat.com>2008-03-29 00:11:52 +0100
commit76576ba2f5e270bfb78e46604392d0258bbf6320 (patch)
treed14d1bc1d7ee13c60921aaf7d256bef356b0efeb /tests
parenteb8fa94f2cf030d625c12ad68bb8883de204c196 (diff)
downloadcoreutils-76576ba2f5e270bfb78e46604392d0258bbf6320.tar.xz
Work around a recent glibc/getopt.c diagnostic change.
* tests/misc/factor: Map new "-- '1'" to expected "-- 1". Signed-off-by: Jim Meyering <meyering@redhat.com>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/misc/factor1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/misc/factor b/tests/misc/factor
index a350ca9e3..de3f376a2 100755
--- a/tests/misc/factor
+++ b/tests/misc/factor
@@ -65,6 +65,7 @@ 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.
{ERR => "$prog: invalid option -- 1\n"
. "Try `$prog --help' for more information.\n"},
{EXIT => 1}],