summaryrefslogtreecommitdiff
path: root/tests/ls-2
diff options
context:
space:
mode:
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};