-
Notifications
You must be signed in to change notification settings - Fork 65
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
t/ack-pager.t fails on Cygwin #335
Comments
Thanks for the report and the investigation. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The test t/ack-pager.t is skipped when IO::Pty is not installed, but when it is not skipped, it fails on Cygwin.
http://www.cpantesters.org/cpan/report/9e18340c-72c4-1014-ace7-3a9e76d8a230
It is because PATH environment variable is deleted from
%ENV
in t/Util.pmprep_environment()
, then t/test-pager, whose shebang is#!/usr/bin/env perl
, is tried to open. Deleting PATH has been introduced in ack 2.13_01 for taint mode (perl's -T option). The most apparent patch is not to delete PATH from%ENV
, but I'm not sure if it's a correct approach.The text was updated successfully, but these errors were encountered: