]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
New tests.
authorJim Meyering <jim@meyering.net>
Thu, 11 May 2000 08:28:51 +0000 (08:28 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 11 May 2000 08:28:51 +0000 (08:28 +0000)
tests/unexpand/basic-1

index 91d3394c17afd3b3b0becae38236a345fe92cd3a..b73b27e5693fae51be0a8ea9ea3d207b1650e8ee 100755 (executable)
@@ -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};