From fe3fe9ec26ad4d3d5e2a61bb66309b05fee98685 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9ophile=20Diot?= Date: Fri, 16 Feb 2024 10:40:22 +0100 Subject: [PATCH] Add TEST_TYPE environment variable for Linux testing in modsecurity --- tests/core/modsecurity/test.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/core/modsecurity/test.sh b/tests/core/modsecurity/test.sh index b93d49df8..853137a11 100755 --- a/tests/core/modsecurity/test.sh +++ b/tests/core/modsecurity/test.sh @@ -34,6 +34,7 @@ else echo "MODSECURITY_SEC_AUDIT_ENGINE=RelevantOnly" | sudo tee -a /etc/bunkerweb/variables.env echo "MODSECURITY_SEC_RULE_ENGINE=On" | sudo tee -a /etc/bunkerweb/variables.env echo "MODSECURITY_SEC_AUDIT_LOG_PARTS=ABCFHZ" | sudo tee -a /etc/bunkerweb/variables.env + export TEST_TYPE="linux" sudo touch /var/www/html/index.html sudo cp ready.conf /etc/bunkerweb/configs/server-http fi