summaryrefslogtreecommitdiff
path: root/tests/tac
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-05-16 20:35:19 +0000
committerJim Meyering <jim@meyering.net>1998-05-16 20:35:19 +0000
commitb54c86e8bc5b8541b079fdbb0ae678f11b30100b (patch)
tree5385f613b2cd43f0f366905641d9631257100e76 /tests/tac
parentb885f7cbca36af6eea891b9f5435a1bc46eb6561 (diff)
downloadcoreutils-b54c86e8bc5b8541b079fdbb0ae678f11b30100b.tar.xz
add 2 more tsts
Diffstat (limited to 'tests/tac')
-rw-r--r--tests/tac/Test.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/tac/Test.pm b/tests/tac/Test.pm
index e73f162da..cf5ca92ca 100644
--- a/tests/tac/Test.pm
+++ b/tests/tac/Test.pm
@@ -31,8 +31,14 @@ my @tv = (
['opt-sb', '-s : -b', ":a:b:c", ":c:b:a", 0],
['opt-r', "-r -s '\\._+'", "1._2.__3.___4._", "4._3.___2.__1._", 0],
+['opt-r2', "-r -s '\\._+'", "a.___b.__1._2.__3.___4._",
+ "4._3.___2.__1._b.__a.___", 0],
+
# This gave incorrect output (.___4._2.__3._1) with tac-1.22.
['opt-br', "-b -r -s '\\._+'", "._1._2.__3.___4", ".___4.__3._2._1", 0],
+
+['opt-br2', "-b -r -s '\\._+'", ".__x.___y.____z._1._2.__3.___4",
+ ".___4.__3._2._1.____z.___y.__x", 0],
);
sub test_vector