aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@debian.org>2020-12-11 01:15:06 +0100
committerGuilhem Moulin <guilhem@debian.org>2020-12-11 11:47:19 +0100
commit7866b97de090042e05847fc5b87d49c1167abdaa (patch)
treed91ff01ae5be11c78f6e451608209693dbcbbd88
parent41d32b90b3d03ab1c069f46488aa58ab294aa7ac (diff)
d/rules: Run test suite with TMPDIR=/var/tmp.
Ssome 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.
-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