[Toybox] [PATCH] mktemp: fix the tests and the logic.

enh enh at google.com
Wed Dec 5 16:08:50 PST 2018


note that you've already got "random ascii" code in password.c --- i have a
half-finished patch that switches mktemp over to reusing that instead...

On Wed, Dec 5, 2018 at 3:40 PM Rob Landley <rob at landley.net> wrote:

> On 12/5/18 5:03 PM, enh via Toybox wrote:
> > Multiple bugs:
> >
> > * We weren't outputting anything in the case where we actually create a
> >   file or directory (but all the tests were for the -u case).
> >
> > * There are more gnarls to the behavior if TEMPLATE contains a '/'. The
> >   new tests cover these.
>
> Sigh. (See attached...)
>
> Lemme try to reconcile them...
>
> Rob
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20181205/08a8783a/attachment-0001.htm>


More information about the Toybox mailing list