From a22ac7d2ecaa44e0e32226751fdf7949cd3d3185 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Mon, 4 Nov 2019 21:35:34 -0800 Subject: 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. --- tests/find.test | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/find.test') 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 -- cgit v1.2.3