itest: case insensitive log errors check
This commit is contained in:
parent
315c56607c
commit
542e1466b1
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user