|
1 | | -diff --git a/tests/factor/factor.pl b/tests/factor/factor.pl |
2 | | -index b1406c266..3d97cd6a5 100755 |
3 | | ---- a/tests/factor/factor.pl |
4 | | -+++ b/tests/factor/factor.pl |
5 | | -@@ -61,12 +61,14 @@ my @Tests = |
6 | | - # Map newer glibc diagnostic to expected. |
7 | | - # Also map OpenBSD 5.1's "unknown option" to expected "invalid option". |
| 1 | +Index: gnu/tests/factor/factor.pl |
| 2 | +=================================================================== |
| 3 | +--- gnu.orig/tests/factor/factor.pl |
| 4 | ++++ gnu/tests/factor/factor.pl |
| 5 | +@@ -63,7 +63,8 @@ my @Tests = |
8 | 6 | {ERR_SUBST => q!s/'1'/1/;s/unknown/invalid/!}, |
9 | | -- {ERR => "$prog: invalid option -- 1\n" |
10 | | -- . "Try '$prog --help' for more information.\n"}, |
11 | | -+ {ERR => "error: unexpected argument '-1' found\n\n" |
12 | | -+ . " tip: to pass '-1' as a value, use '-- -1'\n\n" |
| 7 | + {ERR => "error: unexpected argument '-1' found\n\n" |
| 8 | + . " tip: to pass '-1' as a value, use '-- -1'\n\n" |
| 9 | +- . "Usage: factor [OPTION]... [NUMBER]...\n"}, |
13 | 10 | + . "Usage: factor [OPTION]... [NUMBER]...\n\n" |
14 | 11 | + . "For more information, try '--help'.\n"}, |
15 | 12 | {EXIT => 1}], |
16 | 13 | ['cont', 'a 4', |
17 | 14 | {OUT => "4: 2 2\n"}, |
18 | | -- {ERR => "$prog: 'a' is not a valid positive integer\n"}, |
19 | | -+ {ERR => "$prog: warning: a: invalid digit found in string\n"}, |
20 | | - {EXIT => 1}], |
21 | | - ['bug-2012-a', '465658903', {OUT => '15259 30517'}], |
22 | | - ['bug-2012-b', '2242724851', {OUT => '33487 66973'}], |
0 commit comments