itest: case insensitive log errors check

This commit is contained in:
Joost Jager 2020-05-04 22:20:00 +02:00
parent 315c56607c
commit 542e1466b1
No known key found for this signature in database
GPG Key ID: A61B9D4C393C59C7

@ -6,7 +6,7 @@ BASEDIR=$(dirname "$0")
cat $BASEDIR/*.log | grep "\[ERR\]" | \ cat $BASEDIR/*.log | grep "\[ERR\]" | \
sed -r -f $BASEDIR/log_substitutions.txt | \ sed -r -f $BASEDIR/log_substitutions.txt | \
sort | uniq | \ sort | uniq | \
grep -Fv -f $BASEDIR/log_error_whitelist.txt grep -Fvi -f $BASEDIR/log_error_whitelist.txt
# If something shows up (not on whitelist) exit with error code 1. # If something shows up (not on whitelist) exit with error code 1.
test $? -eq 1 test $? -eq 1