Skip to content

Reuse and export $TMPDIR in the test suite

It would be good to:

  • support --tmpdir just like mktemp 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

Original created by @intrigeri on 8709 (Redmine)

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information