diff options
Diffstat (limited to 'testsuite/ls.tests')
-rwxr-xr-x | testsuite/ls.tests | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuite/ls.tests b/testsuite/ls.tests index e2284658d..9309d366b 100755 --- a/testsuite/ls.tests +++ b/testsuite/ls.tests | |||
@@ -256,7 +256,8 @@ mkdir ls.testdir || exit 1 | |||
256 | 256 | ||
257 | # testing "test name" "command" "expected result" "file input" "stdin" | 257 | # testing "test name" "command" "expected result" "file input" "stdin" |
258 | 258 | ||
259 | testing "ls symlink_to_dir" \ | 259 | test x"$CONFIG_FEATURE_LS_SORTFILES" = x"y" \ |
260 | && testing "ls symlink_to_dir" \ | ||
260 | "touch ls.testdir/A ls.testdir/B; ln -s ls.testdir ls.link; ls ls.link; ls -1 ls.link/; ls -1 ls.link; rm -f ls.link" \ | 261 | "touch ls.testdir/A ls.testdir/B; ln -s ls.testdir ls.link; ls ls.link; ls -1 ls.link/; ls -1 ls.link; rm -f ls.link" \ |
261 | "A\nB\nA\nB\nA\nB\n" \ | 262 | "A\nB\nA\nB\nA\nB\n" \ |
262 | "" "" | 263 | "" "" |