diff options
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/find.test | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/find.test b/tests/find.test index ab84fb07..cbca8e76 100755 --- a/tests/find.test +++ b/tests/find.test @@ -104,6 +104,10 @@ testing "-printf" "find dir -name file -printf '%f %p %P %s'" \ "file dir/file file 0" "" "" testing "-printf .N" "find dir -name file -printf %.2f" "fi" "" "" +ln -s does-not-exist dir/dangler +ln -s looper dir/looper +testing "-L dangling link" "LANG=C find -L dir -name file 2>&1 | sed s/\'//g" \ + "dir/file\nfind: dir/looper: Too many levels of symbolic links\n" "" "" testing "-false" "find dir -false" "" "" "" testing "-true" "find dir/file -true" "dir/file\n" "" "" |