From: Jim Meyering Date: Fri, 12 May 2000 08:56:03 +0000 (+0000) Subject: test new option X-Git-Tag: FILEUTILS-4_0s~64 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=a1eab797d07e5fa9ea3fe196a97d16c56cca3875;p=thirdparty%2Fcoreutils.git test new option --- diff --git a/tests/unexpand/basic-1 b/tests/unexpand/basic-1 index fdc88ace48..8640e981c2 100755 --- a/tests/unexpand/basic-1 +++ b/tests/unexpand/basic-1 @@ -52,9 +52,10 @@ my @Tests = ['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\n"}, {OUT=>"\ta b\n"}], - ['tabs-2', qw(-a -t 4), {IN=> " a b\n"}, {OUT=>"\ta\tb\n"}], + # -t implies -a + # Feature addition (--first-only) prompted by a report from Jie Xu. + ['tabs-1', qw(-t 3), {IN=> " a b\n"}, {OUT=>"\ta\tb\n"}], + ['tabs-2', qw(-t 3 --first-only), {IN=> " a b\n"}, {OUT=>"\ta b\n"}], ); my $save_temps = $ENV{DEBUG};