summaryrefslogtreecommitdiff
path: root/tests/unexpand
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-05-11 08:28:51 +0000
committerJim Meyering <jim@meyering.net>2000-05-11 08:28:51 +0000
commit45dcf53e6e68dbfceb26aba325e774f915f68649 (patch)
tree34cbdc24dccc7d7a8098acbd4eb5a793be971d23 /tests/unexpand
parent3f0c7988cf4ad0d750de90b8b41675da701277e7 (diff)
downloadcoreutils-45dcf53e6e68dbfceb26aba325e774f915f68649.tar.xz
New tests.
Diffstat (limited to 'tests/unexpand')
-rwxr-xr-xtests/unexpand/basic-14
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/unexpand/basic-1 b/tests/unexpand/basic-1
index 91d3394c1..b73b27e56 100755
--- a/tests/unexpand/basic-1
+++ b/tests/unexpand/basic-1
@@ -51,6 +51,10 @@ my @Tests =
['infloop-3', '-t', '2,3', {IN=> "x \t\t \n"}, {OUT=>"x\t\t\t \n"}],
['infloop-4', '-t', '1,2', {IN=> " \t\t \n"}, {OUT=>"\t\t\t \n"}],
['c-1', '-t', '1,2', {IN=> "x\t\t .\n"}, {OUT=>"x\t\t .\n"}],
+
+ # This test failed in 2.0e and earlier. From Jie Xu.
+ ['tabs-1', qw( -t 4), {IN=> " a b c\n"}, {OUT=>"\ta b c\n"}],
+ ['tabs-2', qw(-a -t 4), {IN=> " a b c\n"}, {OUT=>"\ta\tb\tc\n"}],
);
my $save_temps = $ENV{DEBUG};