Skip to content

Fix message for skipping tests for SSL 3.2 #14025

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

Closed
wants to merge 1 commit into from

Conversation

jorgsowa
Copy link
Contributor

Messages for the PR were reversed: #13961

@@ -4,7 +4,7 @@ openssl_x509_parse() tests
openssl
--SKIPIF--
<?php
if (OPENSSL_VERSION_NUMBER >= 0x30200000) die('skip For OpenSSL < 3.2');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The skip is not part of the message. So it's saying that this test is for OpenSSL < 3.2.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I understand. I read it literally that the "test is skipped for OpenSSL < 3.2". There are a few cases in the codebase with reversed logic. I wonder why this format was chosen. Anyway, I close the PR, sorry for the misunderstanding.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No worries. Yeah it's a bit confusing. I'm not sure how to improve it. Some tests add skip - Message as a separator, but this will result in a weird message (i.e. - Message). So I would just keep it as is for now.

@jorgsowa jorgsowa closed this Apr 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants