mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-27 11:07:44 +00:00
tsort.pl: adjust error message
This commit is contained in:
parent
ea9ad10644
commit
5baf675b34
1 changed files with 17 additions and 0 deletions
17
util/gnu-patches/tests_tsort.patch
Normal file
17
util/gnu-patches/tests_tsort.patch
Normal file
|
@ -0,0 +1,17 @@
|
|||
diff --git a/tests/misc/tsort.pl b/tests/misc/tsort.pl
|
||||
index 70bdc474c..4fd420a4e 100755
|
||||
--- a/tests/misc/tsort.pl
|
||||
+++ b/tests/misc/tsort.pl
|
||||
@@ -54,8 +54,10 @@ my @Tests =
|
||||
|
||||
['only-one', {IN => {f => ""}}, {IN => {g => ""}},
|
||||
{EXIT => 1},
|
||||
- {ERR => "tsort: extra operand 'g'\n"
|
||||
- . "Try 'tsort --help' for more information.\n"}],
|
||||
+ {ERR => "error: unexpected argument 'g' found\n\n"
|
||||
+ . "Usage: tsort [OPTIONS] FILE\n\n"
|
||||
+ . "For more information, try '--help'.\n"
|
||||
+ }],
|
||||
);
|
||||
|
||||
my $save_temps = $ENV{DEBUG};
|
Loading…
Add table
Add a link
Reference in a new issue