File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 33. ./benchmark.config
44. ./base/option_target.sh
55
6- OK=' \U2714'
7- ERROR=' \U274C'
8-
6+ # Colors
97GREEN=' \033[0;32m'
108RED=' \033[0;31m'
119NC=' \033[0m' # No Color
2119
2220 # expected to get the Hello World! + libs/output_data.php
2321 if ! [[ " $url_output " =~ ^(' Hello World!' )(.* )(( [0 - 9 ]* ): (([0 - 9 ]+ ([.][0 - 9 ]* )?| [.][0 - 9 ]+ )) :([0-9]* ))$ ]]; then
24- echo -e " ${RED}${ERROR} $fw ${NC} "
22+ echo -e " ${RED} ❌ $fw ${NC} "
2523 echo " $url "
2624
2725 if [ -x " $( command -v w3m) " ]; then
2826 echo " $url_output " | w3m -dump -T text/html
2927 else
3028 echo " $url_output "
3129 fi
32-
30+
3331 FAIL=1
3432 else
35- echo -e " ${GREEN}${OK} $fw ${NC} "
33+ echo -e " ${GREEN} ✔ $fw ${NC} \t ${ # url_output} bytes "
3634 fi
3735 fi
3836done
Original file line number Diff line number Diff line change 11<?php
22
33printf (
4- "\n%' 8d:%f:%d " ,
4+ "\n%' 8d:%f:%'.03d " ,
55 memory_get_peak_usage (),
66 microtime (true ) - $ _SERVER ['REQUEST_TIME_FLOAT ' ],
77 count (get_included_files ()) - 1
You can’t perform that action at this time.
0 commit comments