diff options
author | Jim Meyering <jim@meyering.net> | 2001-02-20 23:00:33 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2001-02-20 23:00:33 +0000 |
commit | 4fda5e93819158fbe5ac4bb73d547769eaf838d8 (patch) | |
tree | 31fd57a3ff55cf29e26aca64da223757037cef1c /tests/ls-2 | |
parent | 6f1ffe444c185eb30c9ad29f35c4f35279411ae7 (diff) | |
download | coreutils-4fda5e93819158fbe5ac4bb73d547769eaf838d8.tar.xz |
test for existing behavior
Diffstat (limited to 'tests/ls-2')
-rwxr-xr-x | tests/ls-2/tests | 5 |
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}; |