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

01-basic.t fails on Android because of the $^O override #28

Open
Hugmeir opened this issue Feb 6, 2014 · 0 comments
Open

01-basic.t fails on Android because of the $^O override #28

Hugmeir opened this issue Feb 6, 2014 · 0 comments

Comments

@Hugmeir
Copy link

Hugmeir commented Feb 6, 2014

# perl -E 'say "$^O: $^V"'
android: v5.19.9
# perl -E 'use Cwd; say Cwd::cwd()'
/mnt/sdcard/src/.cpan/build/Path-Class-0.33-7dmUq1
# perl -E 'BEGIN{ $^O = "Unix" }use Cwd; say Cwd::cwd()'

#

That causes this test https://github.com/kenahoo/Path-Class/blob/master/t/01-basic.t#L84 to fail. Perhaps overriding $^O after loading Cwd would work -- that would at least get _backtrick_cwd working on some platforms. Otherwise, just skipping the test on Android would work fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant