[Pkg-freeradius-maintainers] [Git][debian/freeradius][wip/debian/blastradius/bullseye] Fix test

Bastien Roucariès (@rouca) gitlab at salsa.debian.org
Wed Aug 7 15:45:01 BST 2024



Bastien Roucariès pushed to branch wip/debian/blastradius/bullseye at Debian / freeradius


Commits:
c60dadce by Bastien Roucariès at 2024-08-07T14:44:30+00:00
Fix test

Edit systemctl unit

- - - - -


2 changed files:

- debian/tests/daemon
- debian/tests/freeradius


Changes:

=====================================
debian/tests/daemon
=====================================
@@ -5,6 +5,13 @@
 set -e
 DAEMON=freeradius
 
+mkdir -p /run/systemd/system/freeradius.service.d
+tee /run/systemd/system/freeradius.service.d/disabletmp.conf << "EOF"
+[Service]
+PrivateTmp=no
+EOF
+systemctl daemon-reload
+
 ln -s /etc/freeradius/3.0/sites-available/control-socket /etc/freeradius/3.0/sites-enabled/control-socket
 service freeradius restart
 


=====================================
debian/tests/freeradius
=====================================
@@ -2,5 +2,11 @@
 #-------------------
 # Testing freeradius
 #-------------------
-set -e
+set -ex
+mkdir -p /run/systemd/system/freeradius.service.d
+tee /run/systemd/system/freeradius.service.d/disabletmp.conf << "EOF"
+[Service]
+PrivateTmp=no
+EOF
+systemctl daemon-reload
 python3 `dirname $0`/test-freeradius.py 2>&1



View it on GitLab: https://salsa.debian.org/debian/freeradius/-/commit/c60dadce35cf3e8df5e07018411a3d8108ba86e5

-- 
View it on GitLab: https://salsa.debian.org/debian/freeradius/-/commit/c60dadce35cf3e8df5e07018411a3d8108ba86e5
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-freeradius-maintainers/attachments/20240807/96e5381b/attachment-0001.htm>


More information about the Pkg-freeradius-maintainers mailing list