mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-02 02:29:58 +00:00
Increase Random Bots Test to 200
This commit is contained in:
parent
4e325e0f09
commit
aff9599c82
1 changed files with 2 additions and 2 deletions
|
@ -263,12 +263,12 @@ green=$(tput setaf 2)
|
|||
# ************************************************
|
||||
# Test 100 Random User-Agents from Bad-User-Agents
|
||||
# ************************************************
|
||||
shuf -n 100 ${TRAVIS_BUILD_DIR}/_generator_lists/bad-user-agents.list > ${TRAVIS_BUILD_DIR}/.dev-tools/test_units/random-bots-for-test.tmp
|
||||
shuf -n 200 ${TRAVIS_BUILD_DIR}/_generator_lists/bad-user-agents.list > ${TRAVIS_BUILD_DIR}/.dev-tools/test_units/random-bots-for-test.tmp
|
||||
sed 's/\\//g' ${TRAVIS_BUILD_DIR}/.dev-tools/test_units/random-bots-for-test.tmp > ${TRAVIS_BUILD_DIR}/.dev-tools/test_units/random-bots-for-test.list
|
||||
sudo rm ${TRAVIS_BUILD_DIR}/.dev-tools/test_units/random-bots-for-test.tmp
|
||||
sort -u ${TRAVIS_BUILD_DIR}/.dev-tools/test_units/random-bots-for-test.list -o ${TRAVIS_BUILD_DIR}/.dev-tools/test_units/random-bots-for-test.list
|
||||
|
||||
echo "Testing 100 Random Bots"
|
||||
echo "Testing 200 Random Bots"
|
||||
IFS=$'\n'
|
||||
file=${TRAVIS_BUILD_DIR}/.dev-tools/test_units/random-bots-for-test.list
|
||||
lines=$(cat ${file})
|
||||
|
|
Loading…
Add table
Reference in a new issue