HomeFreeBSD

ZTS: make uses of mktemp consistent

Description

ZTS: make uses of mktemp consistent

In all cases, rely on mktemp itself to make the best decision about
where to place the file or directory. In all cases, that decision will
be $TMPDIR, which we have set globally.

Sponsored-by: https://despairlabs.com/sponsor/
Signed-off-by: Rob Norris <robn@despairlabs.com>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Tino Reichardt <milky-zfs@mcmilk.de>
Reviewed-by: Igor Kozhukhov <igor@dilos.org>

Details

Provenance
rob.norris_klarasystems.comAuthored on Feb 15 2025, 3:41 AM
Tony Hutter <hutter2@llnl.gov>Committed on Thu, Feb 27, 10:39 PM
Parents
rG60031906b48a: ZTS: zfs-tests: set TMPDIR to FILEDIR
Branches
Unknown
Tags
Unknown