]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Change expected output for cycle-1 and cycle-2 tests.
authorJim Meyering <jim@meyering.net>
Tue, 25 Jan 2000 12:07:02 +0000 (12:07 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 25 Jan 2000 12:07:02 +0000 (12:07 +0000)
tests/tsort/basic-1

index c67f67a57ee5aa78c7e8b1ca378a7c95543b05d7..99b1fedd278bab359befae4b0cd2aba2ffb0e435 100755 (executable)
@@ -24,9 +24,11 @@ use strict;
 
 my @Tests =
   (
-   ['cycle-1', {IN => {f => "t b\nt s\ns t\n"}}, {OUT => ''}, {EXIT => 1},
+   ['cycle-1', {IN => {f => "t b\nt s\ns t\n"}}, {OUT => "s\nt\nb\n"},
+    {EXIT => 1},
     {ERR => "tsort: f: input contains a loop:\ntsort: s\ntsort: t\n"} ],
-   ['cycle-2', {IN => {f => "t x\nt s\ns t\n"}}, {OUT => ''}, {EXIT => 1},
+   ['cycle-2', {IN => {f => "t x\nt s\ns t\n"}}, {OUT => "s\nt\nx\n"},
+    {EXIT => 1},
     {ERR => "tsort: f: input contains a loop:\ntsort: s\ntsort: t\n"} ],
 
    ['posix-1', {IN => "a b c c d e\ng g\nf g e f\nh h\n"},