itest: fix log whitelist check

Because a previous PR changed the location of the itest log files, we
also need to update the script that looks for non-whitelisted errors.
This commit is contained in:
Oliver Gugger 2020-12-04 11:19:14 +01:00
parent c95c423703
commit af0f39f4a6
No known key found for this signature in database
GPG Key ID: 8E4256593F177720

View File

@ -5,7 +5,7 @@ BASEDIR=$(dirname "$0")
echo ""
# Filter all log files for errors, substitute variable data and match against whitelist.
cat $BASEDIR/*.log | grep "\[ERR\]" | \
find $BASEDIR -name "*.log" | xargs grep -h "\[ERR\]" | \
sed -r -f $BASEDIR/log_substitutions.txt | \
sort | uniq | \
grep -Fvi -f $BASEDIR/log_error_whitelist.txt