Updated all tests for PS 5.7

This commit is contained in:
Carlos Salguero
2017-12-18 13:01:11 -03:00
parent bb3334de08
commit 5c106b4fad
3 changed files with 26 additions and 4 deletions

View File

@@ -175,7 +175,7 @@ sub wait {
die "$var=$val exceeds its critical threshold "
. "$self->{critical_val_for}->{$var}\n";
}
if ( $val >= $self->{max_val_for}->{$var} ) {
if ( $val && $val >= $self->{max_val_for}->{$var} ) {
$vals_too_high{$var} = $val;
}
else {