bzip2: fix two crashes on corrupted archives
[oweals/busybox.git] / testsuite / ls.tests
index e2284658d7c54ce3956f9ce70ebb0563a5df091e..9309d366be105d440107d87fde393ee91b772a31 100755 (executable)
@@ -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" \
 "" ""