aboutsummaryrefslogtreecommitdiffstats
path: root/debian/rules
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 /debian/rules
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.
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules4
1 files changed, 4 insertions, 0 deletions
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