summaryrefslogtreecommitdiff
path: root/tests/ls-2
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-12-06 23:09:29 +0000
committerJim Meyering <jim@meyering.net>1998-12-06 23:09:29 +0000
commita68f3dee80e5c4ca250e859729be730a47a7a364 (patch)
treea5c2ba27167d01079c1fe2b410ff262a8b8d0fd8 /tests/ls-2
parentdd3bad9b7ce1f0091302009f9c0b651d1e154dbf (diff)
downloadcoreutils-a68f3dee80e5c4ca250e859729be730a47a7a364.tar.xz
add ls -R . test
Diffstat (limited to 'tests/ls-2')
-rwxr-xr-xtests/ls-2/tests4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/ls-2/tests b/tests/ls-2/tests
index 874689e7a..a863d099d 100755
--- a/tests/ls-2/tests
+++ b/tests/ls-2/tests
@@ -43,6 +43,10 @@ my @Tests =
['emptydir', 'd', {OUT => ''}, $mkdir, $rmdir],
['emptydir-x2', 'd d', {OUT => "d:\n\nd:\n"}, $mkdir, $rmdir],
['emptydir-R', '-R d', {OUT => "d:\n"}, $mkdir, $rmdir],
+
+ # test `ls -R .' ............................................
+ ['R-dot', '--ignore="[a-ce-zA-Z]*" -R .', {OUT => ".:\nd\n\n\./d:\n"},
+ $mkdir, $rmdir],
);
my $save_temps = $ENV{SAVE_TEMPS};