aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThien-Thi Nguyen <ttn@gnuvola.org>2021-01-21 19:56:23 -0500
committerThien-Thi Nguyen <ttn@gnuvola.org>2021-01-21 19:56:53 -0500
commit2bba834643b520ccedc8bfad780183242dc19fed (patch)
treede0628decefda5186febe10a37725b6d1bdd6693
parent010b2e9b258cf6d2fd84ce69e5b75c4f0fdaea31 (diff)
make "make check" in src/util respect env var ‘TMPDIR’
https://bugs.gnunet.org/view.php?id=6714
-rw-r--r--src/util/test_helper_eddsa.conf2
-rw-r--r--src/util/test_helper_rsa.conf2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/util/test_helper_eddsa.conf b/src/util/test_helper_eddsa.conf
index 35413d0bf..541a8b144 100644
--- a/src/util/test_helper_eddsa.conf
+++ b/src/util/test_helper_eddsa.conf
@@ -1,7 +1,7 @@
[PATHS]
# Persistent data storage for the testcase
TALER_TEST_HOME = test_helper_eddsa_home/
-TALER_RUNTIME_DIR = /tmp/${USER}/test_helper_eddsa/
+TALER_RUNTIME_DIR = ${TMPDIR:-/tmp}/${USER}/test_helper_eddsa/
[taler-exchange-secmod-eddsa]
LOOKAHEAD_SIGN = 5 minutes
diff --git a/src/util/test_helper_rsa.conf b/src/util/test_helper_rsa.conf
index b6974e4ba..524e4635d 100644
--- a/src/util/test_helper_rsa.conf
+++ b/src/util/test_helper_rsa.conf
@@ -1,7 +1,7 @@
[PATHS]
# Persistent data storage for the testcase
TALER_TEST_HOME = test_helper_rsa_home/
-TALER_RUNTIME_DIR = /tmp/${USER}/test_helper_rsa/
+TALER_RUNTIME_DIR = ${TMPDIR:-/tmp}/${USER}/test_helper_rsa/
[coin_1]