-
-
Notifications
You must be signed in to change notification settings - Fork 9.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
locatetest doesn't seem to test properly #18205
Comments
If we failed on line 94, all other tests don't have much sense and probably we should skip it. You are definitely correct about line 99, if we failed, we should return an error immediately. |
Maybe line 94 should become: if (setlocale(LC_ALL, "") == NULL)
return TEST_skip(...); You could then drop the TEST_note(). |
|
The skip message indicates a bad result. The test continuing indicates a good one. It isn't providing any new information and it clutters the test output (which is already too verbose). |
It's a different information. If |
Refer:
openssl/test/localetest.c
Lines 94 to 103 in bbe909d
Should the TEST_ptr on line 94 and the TEST_false on line 99 both be wrapped by
if (...) return 0;
?Without this, the test won't fail but will log output with ERROR in it. IMO, this is not a good thing.
The text was updated successfully, but these errors were encountered: