summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-01-25 12:07:02 +0000
committerJim Meyering <jim@meyering.net>2000-01-25 12:07:02 +0000
commit1f184652896633b065cfe97040e6b1cc810f064f (patch)
treeba10b49dffb8e0b8e1ff3d01bd26b39de162b7d0
parenta8b0898ba5e7c9ed414472030c726813d216d216 (diff)
downloadcoreutils-1f184652896633b065cfe97040e6b1cc810f064f.tar.xz
Change expected output for cycle-1 and cycle-2 tests.
-rwxr-xr-xtests/tsort/basic-16
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/tsort/basic-1 b/tests/tsort/basic-1
index c67f67a57..99b1fedd2 100755
--- a/tests/tsort/basic-1
+++ b/tests/tsort/basic-1
@@ -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"},