File: tests_tsort.patch

package info (click to toggle)
rust-coreutils 0.0.30-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 17,388 kB
  • sloc: sh: 1,088; python: 407; javascript: 72; makefile: 51
file content (17 lines) | stat: -rw-r--r-- 566 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Index: gnu/tests/misc/tsort.pl
===================================================================
--- gnu.orig/tests/misc/tsort.pl
+++ gnu/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};