Revert BETA tests with Old Regex Boundaries

This commit is contained in:
Mitchell Krog 2021-07-05 14:39:49 +02:00
parent d82ceb87dd
commit 1f4df21c9d
No known key found for this signature in database
GPG key ID: E02E9D10427B6A43
2 changed files with 3 additions and 3 deletions

View file

@ -115,7 +115,7 @@ echo "${bold}${yellow}---------------------------------------------------"
echo "${bold}${yellow}Copy Test Unit of globalblacklist.conf file to test"
echo "${bold}${yellow}---------------------------------------------------"
printf "\n"
sudo cp ./conf.d/globalblacklist-testing-version-oldregexboundaries.conf /etc/nginx/conf.d/globalblacklist.conf
sudo cp ./conf.d/globalblacklist-testing-version.conf /etc/nginx/conf.d/globalblacklist.conf
}
# -------------

View file

@ -266,11 +266,11 @@ IFS=""
}
testRandomReferrers () {
shuf -n 100 ./_generator_lists/bad-referrers.list > ./dev-tools/test_units/random-referrers-for-test.list
shuf -n 500 ./_generator_lists/bad-referrers.list > ./dev-tools/test_units/random-referrers-for-test.list
sort -u ./dev-tools/test_units/random-referrers-for-test.list -o ./dev-tools/test_units/random-referrers-for-test.list
printf "\n"
echo "${bold}${magenta}---------------------------------"
echo "${bold}${magenta}Testing 100 Random Bad Referrers"
echo "${bold}${magenta}Testing 500 Random Bad Referrers"
echo "${bold}${magenta}---------------------------------"
IFS=$'\n'
file=./dev-tools/test_units/random-referrers-for-test.list