Skip to content

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

@Hugmeir

Description

@Hugmeir
# 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions