fix: tests: syslog-logged errors were not counted towards the total

This commit is contained in:
Stéphane Lesimple 2021-01-07 10:36:34 +00:00
parent e8d60810f1
commit 920821f5d6
No known key found for this signature in database
GPG key ID: 4B4A3289E9D35658

View file

@ -462,7 +462,7 @@ echo
set +e
set +u
(( totalerrors = nbfailedret + nbfailedgrep + nbfailedcon + nbfailedgeneric ))
(( totalerrors = nbfailedret + nbfailedgrep + nbfailedcon + nbfailedlog + nbfailedgeneric ))
[ $totalerrors -ge 255 ] && totalerrors=254
rm -rf "$mytmpdir"