From b3601d427e9592b772d8b5f8cbd74bece8310765 Mon Sep 17 00:00:00 2001 From: Mitchell Krog Date: Thu, 27 Jun 2019 13:22:44 +0200 Subject: [PATCH] FIX and TEST new template REF: #201 --- .dev-tools/test-blocker-whitelist-ips.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.dev-tools/test-blocker-whitelist-ips.sh b/.dev-tools/test-blocker-whitelist-ips.sh index d3dbb6a4c..855b0b920 100755 --- a/.dev-tools/test-blocker-whitelist-ips.sh +++ b/.dev-tools/test-blocker-whitelist-ips.sh @@ -60,6 +60,13 @@ printf '%s\t%s\n' "127.0.0.1" "0;" >> ${TRAVIS_BUILD_DIR}/.dev-tools/test_units/ sudo cp ${TRAVIS_BUILD_DIR}/.dev-tools/test_units/whitelist-ips.conf /etc/nginx/bots.d/whitelist-ips.conf sudo cp ${TRAVIS_BUILD_DIR}/.dev-tools/test_units/botblocker-nginx-settings.conf /etc/nginx/conf.d/botblocker-nginx-settings.conf +printf "\n" +echo "${bold}${yellow}---------------------------------------------------" +echo "${bold}${yellow}Copy Test Unit of globalblacklist.conf file to test" +echo "${bold}${yellow}---------------------------------------------------" +printf "\n" + +sudo cp ${TRAVIS_BUILD_DIR}/conf.d/globalblacklist-testing-version.conf /etc/nginx/conf.d/globalblacklist.conf echo "${bold}${green}---------------"