summaryrefslogtreecommitdiff
path: root/tests/ls-2
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ls-2')
-rwxr-xr-xtests/ls-2/tests5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/ls-2/tests b/tests/ls-2/tests
index 7e3713f08..c7fa35215 100755
--- a/tests/ls-2/tests
+++ b/tests/ls-2/tests
@@ -49,6 +49,11 @@ my @Tests =
# test `ls -R .' ............................................
['R-dot', '--ignore="[a-ce-zA-Z]*" -R .', {OUT => ".:\nd\n\n\./d:\n"},
$mkdir, $rmdir],
+
+ # FIXME: change the trailing `/' to be a `@'.
+ ['slink-dir', '-Fd d', {OUT => "d/\n"},
+ {PRE => sub {symlink '/', 'd' or die "d: $!\n"}},
+ {POST => sub {unlink 'd' or die "d: $!\n"}} ],
);
my $save_temps = $ENV{SAVE_TEMPS};