diff options
author | Elliott Hughes <enh@google.com> | 2019-11-04 21:35:34 -0800 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2019-11-05 19:21:35 -0600 |
commit | a22ac7d2ecaa44e0e32226751fdf7949cd3d3185 (patch) | |
tree | aeab64f33b201116d73235149fa774bef79573d5 | |
parent | e6aac70496c05aed73c7c5ed881172ab5e23209b (diff) | |
download | toybox-a22ac7d2ecaa44e0e32226751fdf7949cd3d3185.tar.gz |
find.test: add missing tests for "accidentally" fixed bug.
Bug #69 was fixed recently by commit
0b2cfcb8fdea9673f3c2e0940f1b16d5825e16ea. Add the two tests from the
bug so we can close it out.
Fixes #69.
-rwxr-xr-x | tests/find.test | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/find.test b/tests/find.test index afe7fd2e..17d72fd3 100755 --- a/tests/find.test +++ b/tests/find.test @@ -133,4 +133,9 @@ testing "missing root error" \ testing "-path match root" "find dir/f* -path dir/file" "dir/file\n" "" "" testing "-name match root" "find dir/f* -name file" "dir/file\n" "" "" +# https://github.com/landley/toybox/issues/69 +ln -s nowhere broken +testing "-H broken" "find -H broken" "broken\n" "" "" +testing "-L broken" "find -L broken" "broken\n" "" "" + rm -rf dir |