aboutsummaryrefslogtreecommitdiff
path: root/tests/mktemp.test
AgeCommit message (Collapse)Author
2019-09-17Allow --tmpdir's argument to be optional.Rob Landley
2019-09-15Move mktemp.test comments into test descriptions.Rob Landley
2019-08-21Add some 2>/dev/null to tests that produce gratuitous stderr output.Rob Landley
2018-12-06mktemp: just the missing tests.Elliott Hughes
2018-12-04mktemp: more tests, more fixes.Elliott Hughes
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.
2018-11-28mktemp: add -t and fix behavior.Elliott Hughes
The new tests pass on the host (coreutils 8.28) and with toybox after this patch is applied.