Skip to content
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

Enhance the srctop, bldtop, data and result functions to check the result #16523

Conversation

levitte
Copy link
Member

@levitte levitte commented Sep 7, 2021

This affects bldtop_dir, bldtop_file, srctop_dir, srctop_file,
data_dir, data_file, result_dir, and result_file. They are all
enhanced to check that the resulting path really is a directory or a
file. They only do this if the path exists.

This allows the tests to catch if these functions are used
incorrectly, even on systems where the syntax for directories and
files is the same.

@levitte levitte added branch: master Merge to master branch approval: review pending This pull request needs review by a committer labels Sep 7, 2021
@levitte
Copy link
Member Author

levitte commented Sep 7, 2021

This will stop failing as soon as #16518 has been merged into master

@levitte
Copy link
Member Author

levitte commented Sep 7, 2021

#16532 will be needed as well for this PR to stop failing

@paulidale paulidale added approval: done This pull request has the required number of approvals and removed approval: review pending This pull request needs review by a committer labels Sep 8, 2021
…sult

This affects bldtop_dir, bldtop_file, srctop_dir, srctop_file,
data_dir, data_file, result_dir, and result_file.  They are all
enhanced to check that the resulting path really is a directory or a
file.  They only do this if the path exists.

This allows the tests to catch if these functions are used
incorrectly, even on systems where the syntax for directories and
files is the same.
@levitte levitte force-pushed the enhance-OpenSSL.Test-file-and-directory-functions branch from ca8aa2b to f250c6d Compare September 8, 2021 14:38
@openssl-machine openssl-machine added approval: ready to merge The 24 hour grace period has passed, ready to merge and removed approval: done This pull request has the required number of approvals labels Sep 9, 2021
@openssl-machine
Copy link
Collaborator

This pull request is ready to merge

openssl-machine pushed a commit that referenced this pull request Sep 9, 2021
…sult

This affects bldtop_dir, bldtop_file, srctop_dir, srctop_file,
data_dir, data_file, result_dir, and result_file.  They are all
enhanced to check that the resulting path really is a directory or a
file.  They only do this if the path exists.

This allows the tests to catch if these functions are used
incorrectly, even on systems where the syntax for directories and
files is the same.

Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from #16523)
@levitte
Copy link
Member Author

levitte commented Sep 9, 2021

Merged

2fe2279 Enhance the srctop, bldtop, data and result functions to check the result

@levitte levitte closed this Sep 9, 2021
@levitte levitte deleted the enhance-OpenSSL.Test-file-and-directory-functions branch September 9, 2021 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approval: ready to merge The 24 hour grace period has passed, ready to merge branch: master Merge to master branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants