mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-02 10:40:36 +00:00
Test array not breaking lines with IFS
This commit is contained in:
parent
fc98f82bed
commit
8c3c5e1095
1 changed files with 2 additions and 0 deletions
|
@ -259,12 +259,14 @@ run_curltest15
|
|||
|
||||
#IFS=$'\n' read -d '' -r -a lines < ${TRAVIS_BUILD_DIR}/_generator_lists/bad-user-agents.list
|
||||
#echo "${lines[@]}"
|
||||
IFS=$'\n'
|
||||
file=${TRAVIS_BUILD_DIR}/_generator_lists/bad-user-agents.list
|
||||
lines=`cat $file`
|
||||
for line in $lines; do
|
||||
echo "$line"
|
||||
done
|
||||
|
||||
|
||||
echo "Tests Completed"
|
||||
|
||||
# **********************
|
||||
|
|
Loading…
Add table
Reference in a new issue