mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-04 09:48:19 +01:00
itest: case insensitive log errors check
This commit is contained in:
parent
315c56607c
commit
542e1466b1
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue