summaryrefslogtreecommitdiff
path: root/selftest/selftest.pl
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2016-12-15 10:31:50 +0100
committerJeremy Allison <jra@samba.org>2016-12-17 19:16:14 +0100
commitcbbd95c7f23787263e5d07b765b1d9cde01bd6b1 (patch)
tree5f616ce807daf45affb2c4a9de46c91873316a2d /selftest/selftest.pl
parent60a8e70fe1cb278295ededc41015b09cecb00d48 (diff)
downloadsamba-cbbd95c7f23787263e5d07b765b1d9cde01bd6b1.tar.gz
selftest: also export TMPDIR
This should hopefully avoid usage of /tmp. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'selftest/selftest.pl')
-rwxr-xr-xselftest/selftest.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/selftest/selftest.pl b/selftest/selftest.pl
index 7d71013f7a4..d707d25419e 100755
--- a/selftest/selftest.pl
+++ b/selftest/selftest.pl
@@ -654,6 +654,7 @@ if ($#testlists == -1) {
$ENV{SELFTEST_PREFIX} = "$prefix_abs";
$ENV{SELFTEST_TMPDIR} = "$tmpdir_abs";
+$ENV{TMPDIR} = "$tmpdir_abs";
$ENV{TEST_DATA_PREFIX} = "$tmpdir_abs";
if ($opt_socket_wrapper) {
$ENV{SELFTEST_INTERFACES} = $interfaces;