summaryrefslogtreecommitdiff
path: root/testsuite/ls.tests
diff options
context:
space:
mode:
authorDenys Vlasenko2011-08-10 00:51:29 +0200
committerDenys Vlasenko2011-08-10 00:51:29 +0200
commitb47b3ce1bd651c689fae3cac2760f43f453e2b6e (patch)
tree792a1710799fbf57c66fa51a642ae6d5074640c5 /testsuite/ls.tests
parentb347df91317ca05910e930c94fdba30baf9e2de8 (diff)
downloadbusybox-b47b3ce1bd651c689fae3cac2760f43f453e2b6e.zip
busybox-b47b3ce1bd651c689fae3cac2760f43f453e2b6e.tar.gz
randomconfig fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite/ls.tests')
-rwxr-xr-xtestsuite/ls.tests3
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuite/ls.tests b/testsuite/ls.tests
index e228465..9309d36 100755
--- a/testsuite/ls.tests
+++ b/testsuite/ls.tests
@@ -256,7 +256,8 @@ mkdir ls.testdir || exit 1
# testing "test name" "command" "expected result" "file input" "stdin"
-testing "ls symlink_to_dir" \
+test x"$CONFIG_FEATURE_LS_SORTFILES" = x"y" \
+&& testing "ls symlink_to_dir" \
"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" \
"A\nB\nA\nB\nA\nB\n" \
"" ""