From 00c15d585a87ff30b930dd7ba9ab01465e77aeb3 Mon Sep 17 00:00:00 2001 From: Pierre-Hugues Husson Date: Thu, 13 Jun 2019 16:57:35 +0200 Subject: [PATCH] clearer tests output --- tests/tests.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/tests.sh b/tests/tests.sh index b8165f0..6c819ae 100755 --- a/tests/tests.sh +++ b/tests/tests.sh @@ -6,10 +6,10 @@ cd "$base" || exit #Usage: fail [ignore string] fail() { if [ -z "$3" ] || ! grep -qF "$3" "$1";then - echo "F: $1: $2" + echo "Fatal: $1: $2" touch fail else - echo "W: $1: $2" + echo "Warning: $1: $2" fi } @@ -62,7 +62,7 @@ done #Help handling with priorities lastpriority="$(sort -n tests/priorities |grep -E '^[0-9]{2,3}$' | tail -n 1)" -echo 'First high continuous priority available is' $((lastpriority+1)) +echo 'Note: First high continuous priority available is' $((lastpriority+1)) while true;do #We want numbers ranging from 10 to (lastpriority+20) v=$((RANDOM%(lastpriority+10)))