-
Notifications
You must be signed in to change notification settings - Fork 20
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
skip tainting tests if perl was built without taint support #39
base: master
Are you sure you want to change the base?
Conversation
@neilb, problem! When I finally manage to correctly configure and build a no-taint perl on my principal FreeBSD-12 machine, I get test failures ... and then one test file stops abruptly, necessitating a Ctrl-C.
I believe there has been a segfault.
Attempting the remaining tests with a
|
Double-checking now; I think I was working in |
When I switch to your branch, all tests PASS -- but there's a segfault!
The segfault appears to be occuring when running
|
Upon further investigation, this appears to be IPC-System-Simple's problem, not the problem of On my FreeBSD machine, the BSD::Resource module had never been installed against the "system" |
And just to be self-aggravating ... it appears the core dump is not generated on Linux, with or without taint support. Inside
So maybe @pjf encountered this problem on OS X, which is a descendant of FreeBSD. |
@neilb, I'm inclined to accept your pull request, but am going to hold off a bit, given that some problems with support for no-taint perls have been raised in Perl/perl5#19657. |
I agree that it's best to hold off until we resolve that issue. I'll close this if it comes to that. |
Closing this, as the current implementation of the Configure question is going to be reverted. |
From Perl 5.35.11 onwards, Configure lets you build a perl without taint support.
These changes skip tests that rely on taint support, so that this distribution can be installed under such a perl.