apache: Fix check_url test

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
James Valleroy 2026-03-02 21:49:05 -05:00
parent abbc4e7557
commit 07845bc960
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808
2 changed files with 3 additions and 1 deletions

1
debian/changelog vendored
View File

@ -100,6 +100,7 @@ freedombox (26.4) unstable; urgency=medium
* Translated using Weblate (Tamil)
* locale: Update translation strings
* doc: Fetch latest manual
* apache: Fix check_url test
[ Frederico Gomes ]
* container: Align terminology in printed banner

View File

@ -473,7 +473,8 @@ def test_diagnose_url(get_addresses, check):
def test_check_url(run):
"""Test checking whether a URL is accessible."""
url = 'http://localhost/test'
basic_command = ['curl', '--location', '-f', '-w', '%{response_code}']
basic_command = ['curl', '--location', '--cookie', '', '--fail',
'--write-out', '%{response_code}']
extra_args = {'env': None, 'check': True, 'stdout': -1, 'stderr': -1}
# Basic