diff --git a/tests/core/antibot/test.sh b/tests/core/antibot/test.sh index 9ed20bcf..2dfe8c84 100755 --- a/tests/core/antibot/test.sh +++ b/tests/core/antibot/test.sh @@ -95,7 +95,7 @@ do # Start tests - docker compose -f docker-compose.test.yml up --abort-on-container-exit --exit-code-from tests 2>/dev/null + docker compose -f docker-compose.test.yml up --abort-on-container-exit --exit-code-from tests if [ $? -ne 0 ] ; then echo "🤖 Test \"$test\" failed ❌" diff --git a/tests/core/authbasic/test.sh b/tests/core/authbasic/test.sh index 1e001e65..98c57451 100755 --- a/tests/core/authbasic/test.sh +++ b/tests/core/authbasic/test.sh @@ -104,7 +104,7 @@ do # Start tests - docker compose -f docker-compose.test.yml up --abort-on-container-exit --exit-code-from tests 2>/dev/null + docker compose -f docker-compose.test.yml up --abort-on-container-exit --exit-code-from tests if [ $? -ne 0 ] ; then echo "🔐 Test \"$test\" failed ❌" diff --git a/tests/core/badbehavior/test.sh b/tests/core/badbehavior/test.sh index 00e7449e..ac9d2360 100755 --- a/tests/core/badbehavior/test.sh +++ b/tests/core/badbehavior/test.sh @@ -111,7 +111,7 @@ do # Start tests - docker compose -f docker-compose.test.yml up --abort-on-container-exit --exit-code-from tests 2>/dev/null + docker compose -f docker-compose.test.yml up --abort-on-container-exit --exit-code-from tests if [ $? -ne 0 ] ; then echo "📟 Test \"$test\" failed ❌" diff --git a/tests/core/blacklist/test.sh b/tests/core/blacklist/test.sh index 8b37bea8..e3694775 100755 --- a/tests/core/blacklist/test.sh +++ b/tests/core/blacklist/test.sh @@ -240,9 +240,9 @@ do # Start tests if [[ "$test" = "asn" || "$test" = "ignore_asn" || "$test" = "ignore_asn_urls" || "$test" = "asn_urls" ]] ; then - docker compose -f docker-compose.test.yml up global-tests --abort-on-container-exit --exit-code-from global-tests 2>/dev/null + docker compose -f docker-compose.test.yml up global-tests --abort-on-container-exit --exit-code-from global-tests else - docker compose -f docker-compose.test.yml up tests --abort-on-container-exit --exit-code-from tests 2>/dev/null + docker compose -f docker-compose.test.yml up tests --abort-on-container-exit --exit-code-from tests fi if [ $? -ne 0 ] ; then diff --git a/tests/core/brotli/test.sh b/tests/core/brotli/test.sh index c3085722..6de0aa40 100755 --- a/tests/core/brotli/test.sh +++ b/tests/core/brotli/test.sh @@ -91,7 +91,7 @@ do # Start tests - docker compose -f docker-compose.test.yml up --abort-on-container-exit --exit-code-from tests 2>/dev/null + docker compose -f docker-compose.test.yml up --abort-on-container-exit --exit-code-from tests if [ $? -ne 0 ] ; then echo "đŸ“Ļ Test \"$test\" failed ❌" diff --git a/tests/core/bunkernet/test.sh b/tests/core/bunkernet/test.sh index e21d8fc0..7919a7fc 100755 --- a/tests/core/bunkernet/test.sh +++ b/tests/core/bunkernet/test.sh @@ -100,7 +100,7 @@ do # Start tests - docker compose -f docker-compose.test.yml up --abort-on-container-exit --exit-code-from tests 2>/dev/null + docker compose -f docker-compose.test.yml up --abort-on-container-exit --exit-code-from tests if [ $? -ne 0 ] ; then echo "🕸ī¸ Test \"$test\" failed ❌" diff --git a/tests/core/bwcli/test.sh b/tests/core/bwcli/test.sh index e0b64597..a4e6b059 100755 --- a/tests/core/bwcli/test.sh +++ b/tests/core/bwcli/test.sh @@ -74,7 +74,7 @@ if [ $i -ge 120 ] ; then # Start tests -docker compose -f docker-compose.test.yml up --abort-on-container-exit --exit-code-from tests 2>/dev/null +docker compose -f docker-compose.test.yml up --abort-on-container-exit --exit-code-from tests if [ $? -ne 0 ] ; then echo "⌨ī¸ Test bwcli failed ❌" diff --git a/tests/core/clientcache/test.sh b/tests/core/clientcache/test.sh index 6aa2dc12..2e4e41e5 100755 --- a/tests/core/clientcache/test.sh +++ b/tests/core/clientcache/test.sh @@ -105,7 +105,7 @@ do # Start tests - docker compose -f docker-compose.test.yml up --abort-on-container-exit --exit-code-from tests 2>/dev/null + docker compose -f docker-compose.test.yml up --abort-on-container-exit --exit-code-from tests if [ $? -ne 0 ] ; then echo "📝 Test \"$test\" failed ❌" diff --git a/tests/core/cors/test.sh b/tests/core/cors/test.sh index 0c02134a..5478d8e1 100755 --- a/tests/core/cors/test.sh +++ b/tests/core/cors/test.sh @@ -120,7 +120,7 @@ do # Start tests - docker compose -f docker-compose.test.yml up --abort-on-container-exit --exit-code-from tests 2>/dev/null + docker compose -f docker-compose.test.yml up --abort-on-container-exit --exit-code-from tests if [ $? -ne 0 ] ; then echo "🛰ī¸ Test \"$test\" failed ❌" diff --git a/tests/core/country/test.sh b/tests/core/country/test.sh index badb46a9..8a47bd54 100755 --- a/tests/core/country/test.sh +++ b/tests/core/country/test.sh @@ -97,7 +97,7 @@ do # Start tests echo "🌍 Starting the FR container" - docker compose -f docker-compose.test.yml up tests-fr --abort-on-container-exit --exit-code-from tests-fr 2>/dev/null + docker compose -f docker-compose.test.yml up tests-fr --abort-on-container-exit --exit-code-from tests-fr if [ $? -ne 0 ] ; then echo "🌍 Test \"$test\" failed for the FR container ❌" @@ -109,7 +109,7 @@ do fi echo "🌍 Starting the US container" - docker compose -f docker-compose.test.yml up tests-us --abort-on-container-exit --exit-code-from tests-us 2>/dev/null + docker compose -f docker-compose.test.yml up tests-us --abort-on-container-exit --exit-code-from tests-us if [ $? -ne 0 ] ; then echo "🌍 Test \"$test\" failed for the US container ❌" diff --git a/tests/core/customcert/test.sh b/tests/core/customcert/test.sh index 70db0a1b..d5690b0a 100755 --- a/tests/core/customcert/test.sh +++ b/tests/core/customcert/test.sh @@ -107,7 +107,7 @@ do # Start tests - docker compose -f docker-compose.test.yml up --abort-on-container-exit --exit-code-from tests 2>/dev/null + docker compose -f docker-compose.test.yml up --abort-on-container-exit --exit-code-from tests if [ $? -ne 0 ] ; then echo "🔏 Test \"$test\" failed ❌" diff --git a/tests/core/db/test.sh b/tests/core/db/test.sh index 5efd4a4f..3a5c1ddf 100755 --- a/tests/core/db/test.sh +++ b/tests/core/db/test.sh @@ -269,7 +269,7 @@ do # Start tests - docker compose -f docker-compose.test.yml up --abort-on-container-exit --exit-code-from tests 2>/dev/null + docker compose -f docker-compose.test.yml up --abort-on-container-exit --exit-code-from tests if [ $? -ne 0 ] ; then echo "💾 Test \"$test\" failed ❌" diff --git a/tests/core/dnsbl/test.sh b/tests/core/dnsbl/test.sh index 96ef4ee9..21a82101 100755 --- a/tests/core/dnsbl/test.sh +++ b/tests/core/dnsbl/test.sh @@ -123,7 +123,7 @@ do # Start tests - docker compose -f docker-compose.test.yml up --abort-on-container-exit --exit-code-from tests 2>/dev/null + docker compose -f docker-compose.test.yml up --abort-on-container-exit --exit-code-from tests if [ $? -ne 0 ] ; then echo "đŸšĢ Test \"$test\" failed ❌" diff --git a/tests/core/errors/test.sh b/tests/core/errors/test.sh index 3eab6d0e..54968929 100755 --- a/tests/core/errors/test.sh +++ b/tests/core/errors/test.sh @@ -96,7 +96,7 @@ do # Start tests - docker compose -f docker-compose.test.yml up --abort-on-container-exit --exit-code-from tests 2>/dev/null + docker compose -f docker-compose.test.yml up --abort-on-container-exit --exit-code-from tests if [ $? -ne 0 ] ; then echo "⭕ Test \"$test\" failed ❌" diff --git a/tests/core/greylist/test.sh b/tests/core/greylist/test.sh index 13ad1e31..289c660b 100755 --- a/tests/core/greylist/test.sh +++ b/tests/core/greylist/test.sh @@ -180,7 +180,7 @@ do if ! [[ "$test" = "user_agent" || "$test" = "user_agent_urls" || "$test" = "uri" || "$test" = "uri_urls" ]] ; then echo "🏁 Running global container tests ..." - docker compose -f docker-compose.test.yml up global-tests --abort-on-container-exit --exit-code-from global-tests 2>/dev/null + docker compose -f docker-compose.test.yml up global-tests --abort-on-container-exit --exit-code-from global-tests if [ $? -ne 0 ] ; then echo "🏁 Test \"$test\" failed for global tests ❌" @@ -194,7 +194,7 @@ do echo "🏁 Running local container tests ..." - docker compose -f docker-compose.test.yml up local-tests --abort-on-container-exit --exit-code-from local-tests 2>/dev/null + docker compose -f docker-compose.test.yml up local-tests --abort-on-container-exit --exit-code-from local-tests if [ $? -ne 0 ] ; then echo "🏁 Test \"$test\" failed for local tests ❌" diff --git a/tests/core/gzip/test.sh b/tests/core/gzip/test.sh index 9df9cb5b..88527011 100755 --- a/tests/core/gzip/test.sh +++ b/tests/core/gzip/test.sh @@ -91,7 +91,7 @@ do # Start tests - docker compose -f docker-compose.test.yml up --abort-on-container-exit --exit-code-from tests 2>/dev/null + docker compose -f docker-compose.test.yml up --abort-on-container-exit --exit-code-from tests if [ $? -ne 0 ] ; then echo "🗜ī¸ Test \"$test\" failed ❌" diff --git a/tests/core/headers/test.sh b/tests/core/headers/test.sh index e6150d3b..8c44770a 100755 --- a/tests/core/headers/test.sh +++ b/tests/core/headers/test.sh @@ -147,7 +147,7 @@ do # Start tests - docker compose -f docker-compose.test.yml up --abort-on-container-exit --exit-code-from tests 2>/dev/null + docker compose -f docker-compose.test.yml up --abort-on-container-exit --exit-code-from tests if [ $? -ne 0 ] ; then echo "🎛ī¸ Test \"$test\" failed ❌" diff --git a/tests/core/inject/test.sh b/tests/core/inject/test.sh index 2a891ad6..ac1b682a 100755 --- a/tests/core/inject/test.sh +++ b/tests/core/inject/test.sh @@ -74,7 +74,7 @@ fi # Start tests -docker compose -f docker-compose.test.yml up --abort-on-container-exit --exit-code-from tests 2>/dev/null +docker compose -f docker-compose.test.yml up --abort-on-container-exit --exit-code-from tests if [ $? -ne 0 ] ; then echo "💉 Test \"inject\" failed ❌" diff --git a/tests/core/limit/test.sh b/tests/core/limit/test.sh index d30a0608..249b4511 100755 --- a/tests/core/limit/test.sh +++ b/tests/core/limit/test.sh @@ -125,7 +125,7 @@ do # Start tests - docker compose -f docker-compose.test.yml up --abort-on-container-exit --exit-code-from tests 2>/dev/null + docker compose -f docker-compose.test.yml up --abort-on-container-exit --exit-code-from tests if [ $? -ne 0 ] ; then echo "🎚ī¸ Test \"$test\" failed ❌" diff --git a/tests/core/misc/test.sh b/tests/core/misc/test.sh index 64f33112..79972f24 100755 --- a/tests/core/misc/test.sh +++ b/tests/core/misc/test.sh @@ -117,7 +117,7 @@ do # Start tests - docker compose -f docker-compose.test.yml up --abort-on-container-exit --exit-code-from tests 2>/dev/null + docker compose -f docker-compose.test.yml up --abort-on-container-exit --exit-code-from tests if [ $? -ne 0 ] ; then echo "🗃ī¸ Test \"$test\" failed ❌" diff --git a/tests/core/modsecurity/test.sh b/tests/core/modsecurity/test.sh index d7b2aaae..2450f76b 100755 --- a/tests/core/modsecurity/test.sh +++ b/tests/core/modsecurity/test.sh @@ -96,7 +96,7 @@ do # Start tests - docker compose -f docker-compose.test.yml up --abort-on-container-exit --exit-code-from tests 2>/dev/null + docker compose -f docker-compose.test.yml up --abort-on-container-exit --exit-code-from tests if [ $? -ne 0 ] ; then echo "👮 Test \"$test\" failed ❌" diff --git a/tests/core/redirect/test.sh b/tests/core/redirect/test.sh index ff6b4c75..8066310b 100755 --- a/tests/core/redirect/test.sh +++ b/tests/core/redirect/test.sh @@ -93,7 +93,7 @@ do # Start tests - docker compose -f docker-compose.test.yml up --abort-on-container-exit --exit-code-from tests 2>/dev/null + docker compose -f docker-compose.test.yml up --abort-on-container-exit --exit-code-from tests if [ $? -ne 0 ] ; then echo "↩ī¸ Test \"$test\" failed ❌" diff --git a/tests/core/redis/test.sh b/tests/core/redis/test.sh index 4f58f310..6446424c 100755 --- a/tests/core/redis/test.sh +++ b/tests/core/redis/test.sh @@ -115,7 +115,7 @@ do # Start tests - docker compose -f docker-compose.test.yml up --abort-on-container-exit --exit-code-from tests 2>/dev/null + docker compose -f docker-compose.test.yml up --abort-on-container-exit --exit-code-from tests if [ $? -ne 0 ] ; then echo "🧰 Test \"$test\" failed ❌" diff --git a/tests/core/reversescan/test.sh b/tests/core/reversescan/test.sh index 28e62278..e238a888 100755 --- a/tests/core/reversescan/test.sh +++ b/tests/core/reversescan/test.sh @@ -95,7 +95,7 @@ do # Start tests - docker compose -f docker-compose.test.yml up --abort-on-container-exit --exit-code-from tests 2>/dev/null + docker compose -f docker-compose.test.yml up --abort-on-container-exit --exit-code-from tests if [ $? -ne 0 ] ; then echo "đŸ•ĩī¸ Test \"$test\" failed ❌" diff --git a/tests/core/selfsigned/test.sh b/tests/core/selfsigned/test.sh index c813327f..a2e47aff 100755 --- a/tests/core/selfsigned/test.sh +++ b/tests/core/selfsigned/test.sh @@ -97,7 +97,7 @@ do # Start tests - docker compose -f docker-compose.test.yml up --abort-on-container-exit --exit-code-from tests 2>/dev/null + docker compose -f docker-compose.test.yml up --abort-on-container-exit --exit-code-from tests if [ $? -ne 0 ] ; then echo "🔑 Test \"$test\" failed ❌" diff --git a/tests/core/sessions/test.sh b/tests/core/sessions/test.sh index d6a9d0b0..07c3a7a0 100755 --- a/tests/core/sessions/test.sh +++ b/tests/core/sessions/test.sh @@ -96,7 +96,7 @@ do # Start tests - docker compose -f docker-compose.test.yml up --abort-on-container-exit --exit-code-from tests 2>/dev/null + docker compose -f docker-compose.test.yml up --abort-on-container-exit --exit-code-from tests if [ $? -ne 0 ] ; then echo "đŸ§ŗ Test \"$test\" failed ❌" diff --git a/tests/core/whitelist/test.sh b/tests/core/whitelist/test.sh index 4cba797e..d5ed909e 100755 --- a/tests/core/whitelist/test.sh +++ b/tests/core/whitelist/test.sh @@ -181,7 +181,7 @@ do if ! [[ "$test" = "user_agent" || "$test" = "user_agent_urls" || "$test" = "uri" || "$test" = "uri_urls" ]] ; then echo "đŸŗī¸ Running global container tests ..." - docker compose -f docker-compose.test.yml up global-tests --abort-on-container-exit --exit-code-from global-tests 2>/dev/null + docker compose -f docker-compose.test.yml up global-tests --abort-on-container-exit --exit-code-from global-tests if [ $? -ne 0 ] ; then echo "đŸŗī¸ Test \"$test\" failed for global tests ❌" @@ -195,7 +195,7 @@ do echo "đŸŗī¸ Running local container tests ..." - docker compose -f docker-compose.test.yml up local-tests --abort-on-container-exit --exit-code-from local-tests 2>/dev/null + docker compose -f docker-compose.test.yml up local-tests --abort-on-container-exit --exit-code-from local-tests if [ $? -ne 0 ] ; then echo "đŸŗī¸ Test \"$test\" failed for local tests ❌"