From 7866b97de090042e05847fc5b87d49c1167abdaa Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Fri, 11 Dec 2020 01:15:06 +0100 Subject: 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. --- debian/changelog | 3 +++ debian/rules | 4 ++++ 2 files changed, 7 insertions(+) (limited to 'debian') 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 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 -- cgit v1.2.3