Reuse and export $TMPDIR in the test suite
Originally created by @intrigeri on #8709 (Redmine)
It would be good to:
- support
--tmpdir
just likemktemp
does; if it’s passed, use its value/TailsToaster as$TMPDIR
- if
--tmpdir
isn’t passed, but the standard$TMPDIR
is set, use something based on the latter ($TMPDIR/TailsToaster
) - export
$TMPDIR
=> all programs run by the test suite (on the host) will inherit
$TMPDIR
and hopefully never clutter the Git tree the test suite is run
from.
Feature Branch: test/8709-tmpdir