chore: make linter happy for existing code

This commit is contained in:
Damien Cavagnini
2025-06-18 11:50:19 +02:00
parent 9a225c6157
commit 38393a1950
5 changed files with 9 additions and 4 deletions

View File

@ -13,7 +13,7 @@ cleanup_and_exit() {
if [ "$totalerrors" -eq 255 ]; then
fatal "RUNTIME ERROR"
fi
exit $totalerrors
exit "$totalerrors"
}
trap "cleanup_and_exit" EXIT HUP INT
@ -125,7 +125,7 @@ play_consistency_tests() {
ok "$name logs are identical"
fi
if [ 1 -eq $consist_test ]; then
if [ 1 -eq "$consist_test" ]; then
nbfailedconsist=$((nbfailedconsist + 1))
listfailedconsist="$listfailedconsist $(make_usecase_name "$usecase" consist)"
fi