diff options
author | Elliott Hughes <enh@google.com> | 2018-12-04 10:58:13 -0800 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2018-12-04 13:50:21 -0600 |
commit | a6ec1d989bba98cf1e4cd3b3e566e69cfc4e4939 (patch) | |
tree | 144f7b1e39c8067f58a3f7ca2465366df3ace067 /toys/other/reset.c | |
parent | f5d9d76447d34a1aa43afc2c783e70f07fd58228 (diff) | |
download | toybox-a6ec1d989bba98cf1e4cd3b3e566e69cfc4e4939.tar.gz |
mktemp: more tests, more fixes.
I realized (after being questioned about my motivation) that I hadn't
added a test for the -u behavior. Adding the missing test confirmed the
usual "if there isn't a test, the code is broken", but now I think I
actually understand how we're supposed to choose between DIR, $TMPDIR,
and /tmp. I've added more tests to back this up, and rewritten the code
one more time so that we pass all the tests.
Diffstat (limited to 'toys/other/reset.c')
0 files changed, 0 insertions, 0 deletions