We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 748950e commit 2159b30Copy full SHA for 2159b30
check.sh
@@ -3,9 +3,7 @@
3
. ./benchmark.config
4
. ./base/option_target.sh
5
6
-OK='\U2714'
7
-ERROR='\U274C'
8
-
+# Colors
9
GREEN='\033[0;32m'
10
RED='\033[0;31m'
11
NC='\033[0m' # No Color
@@ -21,18 +19,18 @@ do
21
19
22
20
# expected to get the Hello World! + libs/output_data.php
23
if ! [[ "$url_output" =~ ^('Hello World!')(.*)(([0-9]*):(([0-9]+([.][0-9]*)?|[.][0-9]+)):([0-9]*))$ ]]; then
24
- echo -e "${RED}${ERROR} $fw ${NC}"
+ echo -e "${RED}❌ $fw ${NC}"
25
echo "$url"
26
27
if [ -x "$(command -v w3m)" ]; then
28
echo "$url_output" | w3m -dump -T text/html
29
else
30
echo "$url_output"
31
fi
32
+
33
FAIL=1
34
35
- echo -e "${GREEN}${OK} $fw ${NC}"
+ echo -e "${GREEN}✔ $fw ${NC}"
36
37
38
done
0 commit comments