From 5157fd957eb87c7ba0b20485f125048c50a751ab Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 22 Aug 1999 16:09:29 +0000 Subject: [PATCH] Add a few more tests. --- tests/tsort/basic-1 | 8 ++++++++ 1 file changed, 8 insertions(+) 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}; -- 2.47.3