From 0f2658c806586190be3aca21826e77fff9e50f1b Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Tue, 6 Oct 2020 15:50:15 -0500 Subject: The non-recursive dirtree_path wasn't stripping a trailing / from initial path. --- tests/find.test | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/find.test') diff --git a/tests/find.test b/tests/find.test index a770f366..71a55010 100755 --- a/tests/find.test +++ b/tests/find.test @@ -140,4 +140,7 @@ ln -s nowhere broken testing "-H broken" "find -H broken" "broken\n" "" "" testing "-L broken" "find -L broken" "broken\n" "" "" +testing "one slash" 'find /etc/ -maxdepth 1 | grep /passwd\$' '/etc/passwd\n' \ + '' '' + rm -rf dir -- cgit v1.2.3