-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
58 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,14 @@ | ||
diff --git a/tests/factor/factor.pl b/tests/factor/factor.pl | ||
index b1406c266..3d97cd6a5 100755 | ||
--- a/tests/factor/factor.pl | ||
+++ b/tests/factor/factor.pl | ||
@@ -61,12 +61,14 @@ my @Tests = | ||
# Map newer glibc diagnostic to expected. | ||
# Also map OpenBSD 5.1's "unknown option" to expected "invalid option". | ||
Index: gnu/tests/factor/factor.pl | ||
=================================================================== | ||
--- gnu.orig/tests/factor/factor.pl | ||
+++ gnu/tests/factor/factor.pl | ||
@@ -63,7 +63,8 @@ my @Tests = | ||
{ERR_SUBST => q!s/'1'/1/;s/unknown/invalid/!}, | ||
- {ERR => "$prog: invalid option -- 1\n" | ||
- . "Try '$prog --help' for more information.\n"}, | ||
+ {ERR => "error: unexpected argument '-1' found\n\n" | ||
+ . " tip: to pass '-1' as a value, use '-- -1'\n\n" | ||
{ERR => "error: unexpected argument '-1' found\n\n" | ||
. " tip: to pass '-1' as a value, use '-- -1'\n\n" | ||
- . "Usage: factor [OPTION]... [NUMBER]...\n"}, | ||
+ . "Usage: factor [OPTION]... [NUMBER]...\n\n" | ||
+ . "For more information, try '--help'.\n"}, | ||
{EXIT => 1}], | ||
['cont', 'a 4', | ||
{OUT => "4: 2 2\n"}, | ||
- {ERR => "$prog: 'a' is not a valid positive integer\n"}, | ||
+ {ERR => "$prog: warning: a: invalid digit found in string\n"}, | ||
{EXIT => 1}], | ||
['bug-2012-a', '465658903', {OUT => '15259 30517'}], | ||
['bug-2012-b', '2242724851', {OUT => '33487 66973'}], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters