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(+)
From 7fe54848543f291c0829fe378555fd23edd9cd6a Mon Sep 17 00:00:00 2001
From: Elliott Hughes <[email protected]>
Date: Mon, 4 Nov 2019 21:35:34 -0800
Subject: [PATCH] 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(+)

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
-- 
2.24.0.rc1.363.gb1bccd3e3d-goog

_______________________________________________
Toybox mailing list
[email protected]
http://lists.landley.net/listinfo.cgi/toybox-landley.net

Reply via email to