aboutsummaryrefslogtreecommitdiff
path: root/debian/tests/compile-and-tests.lisp
diff options
context:
space:
mode:
Diffstat (limited to 'debian/tests/compile-and-tests.lisp')
-rw-r--r--debian/tests/compile-and-tests.lisp2
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/tests/compile-and-tests.lisp b/debian/tests/compile-and-tests.lisp
index b2167b1..5af4bb1 100644
--- a/debian/tests/compile-and-tests.lisp
+++ b/debian/tests/compile-and-tests.lisp
@@ -11,6 +11,8 @@
;; whether any tests failed. We have to switch the package back and forth as
;; CL-USER has no *CONSFIG*.
(let ((*package* (find-package :consfigurator/tests)))
+ ;; Set TMPDIR so UIOP temporary file utilities use AUTOPKGTEST_TMP.
+ (setf (uiop:getenv "TMPDIR") (uiop:getenv "AUTOPKGTEST_TMP"))
(unless (consfigurator/tests::runner)
(uiop:quit 2)))