aboutsummaryrefslogtreecommitdiff
path: root/integration/test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'integration/test.sh')
-rwxr-xr-xintegration/test.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/integration/test.sh b/integration/test.sh
index 64996ae..fe09ad0 100755
--- a/integration/test.sh
+++ b/integration/test.sh
@@ -149,16 +149,16 @@ function run_tests() {
}
function die() {
- echo "$(date +"%Y-%m-%d %H:%M:%S") [FATA] $@" >&2
+ echo -e "\e[90m$(date +"%Y-%m-%d %H:%M:%S")\e[0m [\e[1;31mFATA\e[0m] $@" >&2
exit 1
}
function info() {
- echo "$(date +"%Y-%m-%d %H:%M:%S") [INFO] $@" >&2
+ echo -e "\e[90m$(date +"%Y-%m-%d %H:%M:%S")\e[0m [\e[94mINFO\e[0m] $@" >&2
}
function warn() {
- echo "$(date +"%Y-%m-%d %H:%M:%S") [WARN] $@" >&2
+ echo -e "\e[90m$(date +"%Y-%m-%d %H:%M:%S")\e[0m [\e[33mWARN\e[0m] $@" >&2
}
main