diff options
Diffstat (limited to 'testsuite/ls.tests')
-rwxr-xr-x | testsuite/ls.tests | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/ls.tests b/testsuite/ls.tests index 1669579e7..e2284658d 100755 --- a/testsuite/ls.tests +++ b/testsuite/ls.tests | |||
@@ -251,6 +251,16 @@ test x"$CONFIG_UNICODE_SUPPORT" = x"y" \ | |||
251 | 0110_5.3.2__U+FFFF_=_ef_bf_bf_=_"?"_______________________________________| | 251 | 0110_5.3.2__U+FFFF_=_ef_bf_bf_=_"?"_______________________________________| |
252 | ' "" "" | 252 | ' "" "" |
253 | 253 | ||
254 | rm -rf ls.testdir 2>/dev/null | ||
255 | mkdir ls.testdir || exit 1 | ||
256 | |||
257 | # testing "test name" "command" "expected result" "file input" "stdin" | ||
258 | |||
259 | 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 | "A\nB\nA\nB\nA\nB\n" \ | ||
262 | "" "" | ||
263 | |||
254 | # Clean up | 264 | # Clean up |
255 | rm -rf ls.testdir 2>/dev/null | 265 | rm -rf ls.testdir 2>/dev/null |
256 | 266 | ||