From: Pádraig Brady Date: Thu, 10 Jul 2008 08:36:49 +0000 (+0100) Subject: tests: expand: test for lines starting with both spaces and tabs X-Git-Tag: v7.0~131 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8461d49df08a241e68d4b0d0b1a2b93bafc1246b;p=thirdparty%2Fcoreutils.git tests: expand: test for lines starting with both spaces and tabs The expand released in current distributions (Fedora Core 4 - Fedora 9 at least), doesn't expand --initial tabs if spaces are present. tests/misc/expand: Add test to verify --initial works correctly with lines starting with both spaces and tabs. --- diff --git a/tests/misc/expand b/tests/misc/expand index b386737b1e..468fdeebd0 100755 --- a/tests/misc/expand +++ b/tests/misc/expand @@ -28,6 +28,7 @@ my @Tests = ['t1', '--tabs=3', {IN=>"a\tb"}, {OUT=>"a b"}], ['t2', '--tabs=3,6,9', {IN=>"a\tb\tc\td\te"}, {OUT=>"a b c d e"}], ['i1', '--tabs=3 -i', {IN=>"\ta\tb"}, {OUT=>" a\tb"}], + ['i2', '--tabs=3 -i', {IN=>" \ta\tb"}, {OUT=>" a\tb"}], ); my $save_temps = $ENV{DEBUG};