Various tests create additional temporary files. They really should just
use "$NFT_TEST_TESTTMPDIR" for that. However, they mostly use `mktemp`.
The scripts are supposed to cleanup those files afterwards. However,
often that does not work correctly and /tmp gets full of left over
temporary files.
Export "TMPDIR" so that they use the test-specific temporary directory.
Signed-off-by: Thomas Haller <thaller@redhat.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
START_TIME="$(cut -d ' ' -f1 /proc/uptime)"
+export TMPDIR="$NFT_TEST_TESTTMPDIR"
+
CLEANUP_UMOUNT_RUN_NETNS=n
cleanup() {