summaryrefslogtreecommitdiff
path: root/tests/lib-core
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib-core')
-rw-r--r--tests/lib-core7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/lib-core b/tests/lib-core
index 98ae85f..f3881ca 100644
--- a/tests/lib-core
+++ b/tests/lib-core
@@ -14,3 +14,10 @@ t-set-intree () {
export DGIT_TEST DGIT_REPOS_SERVER_TEST DGIT_SSH_DISPATCH_TEST
export PERLLIB="$DGIT_TEST_INTREE${PERLLIB:+:}${PERLLIB}"
}
+
+t-set-using-tmp () {
+ export HOME=$tmp
+ export DGIT_TEST_DUMMY_DIR=$tmp
+ export DGIT_TEST_TMP=$tmp
+ export GNUPGHOME=$tmp/gnupg
+}