summaryrefslogtreecommitdiff
path: root/tests/unexpand/basic-1
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-05-12 08:56:03 +0000
committerJim Meyering <jim@meyering.net>2000-05-12 08:56:03 +0000
commita1eab797d07e5fa9ea3fe196a97d16c56cca3875 (patch)
tree1360ad34c4a6a9dc270f79d2d7ed01226fad79e5 /tests/unexpand/basic-1
parent7f0b022e0dfdf9423e0bd3f3595c4819c5589ce4 (diff)
downloadcoreutils-a1eab797d07e5fa9ea3fe196a97d16c56cca3875.tar.xz
test new option
Diffstat (limited to 'tests/unexpand/basic-1')
-rwxr-xr-xtests/unexpand/basic-17
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/unexpand/basic-1 b/tests/unexpand/basic-1
index fdc88ace4..8640e981c 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};