mirror of
https://github.com/jaygooby/ttfb.sh.git
synced 2026-10-24 22:11:14 +02:00
Fix the failing tests for logging
This commit is contained in:
1 parent
ab5df2edac
commit
9e4514e829
1 file changed
+8
@@ -156,6 +156,14 @@ fi
|
|||||||
|
|
||||||
for URL in $URLS; do
|
for URL in $URLS; do
|
||||||
|
|
||||||
|
if [ $DEBUG -eq 1 ]; then
|
||||||
|
if [ ${#@} -gt 1 ]; then
|
||||||
|
LOGFILE="${URL//[^[:alnum:]]/_}"
|
||||||
|
options+=(-D "${LOG_DIRECTORY}/${LOGFILE}-${LOG}")
|
||||||
|
else
|
||||||
|
options+=(-D "${LOG_DIRECTORY}/${LOG}")
|
||||||
|
fi
|
||||||
|
fi
|
||||||
# if we're checking more than one url
|
# if we're checking more than one url
|
||||||
# output the url on the results line
|
# output the url on the results line
|
||||||
if [ ${#@} -gt 1 ]; then
|
if [ ${#@} -gt 1 ]; then
|
||||||
|
|||||||
Reference in new issue
Block a user