aboutsummaryrefslogtreecommitdiff
path: root/debian/tests
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2022-05-05 16:33:00 -0700
committerSean Whitton <spwhitton@spwhitton.name>2022-05-05 16:40:32 -0700
commitb617eba60100536afb16bb34f9b5615be64b5ef6 (patch)
tree986d4fe7bbf304cea84fce35163dc413e544184e /debian/tests
parent0f9255e48f1b51e2a61f2b327c74a4b1ca0416ca (diff)
downloadconsfigurator-b617eba60100536afb16bb34f9b5615be64b5ef6.tar.gz
d/tests/compile-and-tests.lisp: Set TMPDIR to AUTOPKGTEST_TMP
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'debian/tests')
-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)))