projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb8fa94
)
Work around a recent glibc/getopt.c diagnostic change.
author
Jim Meyering
<meyering@redhat.com>
Fri, 28 Mar 2008 23:11:15 +0000
(
00:11
+0100)
committer
Jim Meyering
<meyering@redhat.com>
Fri, 28 Mar 2008 23:11:52 +0000
(
00:11
+0100)
* tests/misc/factor: Map new "-- '1'" to expected "-- 1".
Signed-off-by: Jim Meyering <meyering@redhat.com>
tests/misc/factor
patch
|
blob
|
history
diff --git
a/tests/misc/factor
b/tests/misc/factor
index
a350ca9
..
de3f376
100755
(executable)
--- 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}],