Update modsecurity test to run main.py with sudo -E

This commit is contained in:
Théophile Diot 2024-02-16 10:47:00 +01:00
parent fe3fe9ec26
commit ec047b8c36
No known key found for this signature in database
GPG key ID: 248FEA4BAE400D06

View file

@ -213,7 +213,7 @@ do
if [ "$integration" == "docker" ] ; then
docker compose -f docker-compose.test.yml up --abort-on-container-exit --exit-code-from tests
else
python3 main.py
sudo -E python3 main.py
fi
# shellcheck disable=SC2181