diff options
author | Rob Landley <rob@landley.net> | 2020-10-06 15:50:15 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2020-10-06 15:50:15 -0500 |
commit | 0f2658c806586190be3aca21826e77fff9e50f1b (patch) | |
tree | 0c24bb07fb084b2284b24c40e92429c9f458e862 /tests | |
parent | 841a7966d8a34906e1871572709270fe23b2ff9c (diff) | |
download | toybox-0f2658c806586190be3aca21826e77fff9e50f1b.tar.gz |
The non-recursive dirtree_path wasn't stripping a trailing / from initial path.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/find.test | 3 |
1 files changed, 3 insertions, 0 deletions
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 |