-
Notifications
You must be signed in to change notification settings - Fork 849
Fail earlier if Netcat is not installed #11438
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
Conversation
Some AuTests require Netcat as a client, but do not get skipped if it is missing. This updates the tests so that they get skipped if Netcat is not installed.
bneradt
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. I double-checked that each of these does indeed use nc or calls a script that does.
As usual, I'll let a non-Yahoo reviewer approve.
|
We may not want to merge this because it would cause CI to pass without indicating an issue if the |
|
I've repurposed the PR to have the CMake build and autest.sh check for netcat and fail if it is missing, rather than skipping tests based on its presence. |
bneradt
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Thanks for giving this nc requirement explicit messaging.
Some AuTests require Netcat as a client, but do not get skipped if it is missing.
This updates the tests so that they get skipped if Netcat is not installed.EDIT: This updates CMakeLists.txt and autest.sh to fail appropriately if Netcat is missing.