From: Jim Meyering Date: Sun, 22 Aug 1999 16:09:29 +0000 (+0000) Subject: Add a few more tests. X-Git-Tag: FILEUTILS-4_0j-trial~288 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5157fd957eb87c7ba0b20485f125048c50a751ab;p=thirdparty%2Fcoreutils.git Add a few more tests. --- diff --git a/tests/tsort/basic-1 b/tests/tsort/basic-1 index ce73e4772e..c67f67a57e 100755 --- a/tests/tsort/basic-1 +++ b/tests/tsort/basic-1 @@ -33,6 +33,14 @@ my @Tests = {OUT => "a\nc\nd\nh\nb\ne\nf\ng\n"}], ['posix-2', {IN => "b a\nd c\nz h x h r h\n"}, {OUT => "b\nd\nr\nx\nz\na\nc\nh\n"}], + + ['linear-1', {IN => "a b b c c d d e e f f g\n"}, + {OUT => "a\nb\nc\nd\ne\nf\ng\n"}], + + ['tree-1', {IN => "a b b c c d d e e f f g\nc x x y y z\n"}, + {OUT => "a\nb\nc\nx\nd\ny\ne\nz\nf\ng\n"}], + ['tree-2', {IN => "a b b c c d d e e f f g\nc x x y y z\nf r r s s t\n"}, + {OUT => "a\nb\nc\nx\nd\ny\ne\nz\nf\nr\ng\ns\nt\n"}], ); my $save_temps = $ENV{DEBUG};