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
test: add fix so that test exits if port 42 is unprivileged #45904
base: main
Are you sure you want to change the base?
Conversation
|
The way the test is written now makes it possible for future regressions to go undetected so that's no good, unfortunately. I'd simply call out to sysctl(1) with execSync() to check the value. There's at least one other instance of that in our test suite so it's not without precedent. |
|
Okay, I'll make these changes |
|
@bnoordhuis is this fine? |
|
added these changes @bnoordhuis |
|
Can you try merging again? Had some lint errors, hopefully, they are fixed now. @bnoordhuis |
|
Can you please take a look? |


fixes: #45838