🍽 Fork YunoHost — snapshot mangé par la machine à tsoins
Some checks failed
Check for new n releases / updater (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled

Upstream: https://github.com/YunoHost/yunohost @ 3a5f8bac8301c450897b96cbd43a4c7d3ba750fb
But (José) : transformer tout le code en bions + ploxions du xerboxion.
La carte de digestion vit au labo : /yunohost-digest.json
This commit is contained in:
machine-a-tsoins
2026-07-03 17:20:06 +00:00
commit edb4c397df
395 changed files with 105504 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
ynhtest_port_80_aint_available() {
! ynh_port_available 80
}
ynhtest_port_12345_is_available() {
ynh_port_available 12345
}
ynhtest_port_12345_is_booked_by_other_app() {
ynh_port_available 12345
ynh_port_available 12346
mkdir -p /etc/yunohost/apps/block_port/
echo "port: '12345'" > /etc/yunohost/apps/block_port/settings.yml
! ynh_port_available 12345
echo "other_port: '12346'" > /etc/yunohost/apps/block_port/settings.yml
! ynh_port_available 12346
rm -rf /etc/yunohost/apps/block_port
}