runtests: if DISABLED cannot be read, error out

Because then runtests cannot disable the right set of tests and things
will be annoying.

Closes #14411
This commit is contained in:
Daniel Stenberg 2024-08-06 09:46:55 +02:00
parent c6fb9895b6
commit b0394b1535
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -2622,6 +2622,10 @@ sub disabledtests {
}
}
}
else {
print STDERR "Cannot open $file, exiting\n";
exit 3;
}
}
#######################################################################