rob: it looks like the tests you committed (https://github.com/landley/toybox/commit/edae0b07db841e3bf8449d591971f04c9957ecbc) are commented out?
On Sat, Sep 12, 2015 at 5:07 PM, Daniel K. Levy <[email protected]> wrote: > On Sat, 2015-09-12 at 16:22 -0700, enh wrote: >> add tests? > > Sure :) > > diff --git a/tests/find.test b/tests/find.test > index cbbce5f..9d69653 100755 > --- a/tests/find.test > +++ b/tests/find.test > @@ -39,4 +39,18 @@ testing "find -type f -a -print" \ > testing "find -print -o -print" \ > "find dir -type f -a \( -print -o -print \)" "dir/file\n" "" "" > > +# Testing previous failures > + > +testing "find -type f -user -exec" \ > + "find dir -type f -user $USER -exec ls {} \\;" "dir/file\n" "" "" > +testing "find -type l -newer -exec" \ > + "find dir -type l -newer dir/file -exec ls {} \\;" "dir/link\n" "" "" > +testing "find unterminated -exec {}" \ > + "find dir -type f -exec ls {}" "" "" "" > + > +# Still fails > + > +testing "find -exec {} +" \ > + "find dir -type f -exec ls {} +" "dir/file\n" "" "" > + > rm -rf dir -- Elliott Hughes - http://who/enh - http://jessies.org/~enh/ Android native code/tools questions? Mail me/drop by/add me as a reviewer. _______________________________________________ Toybox mailing list [email protected] http://lists.landley.net/listinfo.cgi/toybox-landley.net
