aboutsummaryrefslogtreecommitdiff
path: root/toys/lsb/mknod.c
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2018-12-04 10:58:13 -0800
committerRob Landley <rob@landley.net>2018-12-04 13:50:21 -0600
commita6ec1d989bba98cf1e4cd3b3e566e69cfc4e4939 (patch)
tree144f7b1e39c8067f58a3f7ca2465366df3ace067 /toys/lsb/mknod.c
parentf5d9d76447d34a1aa43afc2c783e70f07fd58228 (diff)
downloadtoybox-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/lsb/mknod.c')
0 files changed, 0 insertions, 0 deletions