aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/changelog3
-rwxr-xr-xdebian/rules4
2 files changed, 7 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 63df36f..69e6229 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,9 @@ interimap (0.5.4-1) UNRELEASED; urgency=medium
* d/gbp.conf: Update debian and upstream branches in compliance with DEP-14.
* d/control: Point Vcs-* to salsa.
* Add debian/salsa-ci.yml file.
+ * d/rules: Run test suite with TMPDIR=/var/tmp as some systems (such as
+ salsa's CI runners) mount /dev/shm with the 'noexec' option. /var/tmp is
+ probably safer in that regard since it's what mkinitramfs(8) defaults to.
-- Guilhem Moulin <guilhem@debian.org> Wed, 09 Dec 2020 16:13:26 +0100
diff --git a/debian/rules b/debian/rules
index 5b2e51b..cdfdcaf 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,3 +5,7 @@
override_dh_installsystemduser:
dh_installsystemduser --no-enable
+
+override_dh_auto_test:
+ # /dev/shm, the default, might be mounted with noexec
+ dh_auto_test -- TMPDIR=/var/tmp