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

t/old-base.t fails on some systems without /tmp #15

Open
Hugmeir opened this issue Jan 19, 2014 · 0 comments
Open

t/old-base.t fails on some systems without /tmp #15

Hugmeir opened this issue Jan 19, 2014 · 0 comments

Comments

@Hugmeir
Copy link

Hugmeir commented Jan 19, 2014

The newlocal_test() in t/old-base.t doesn't (can't) use File::Temp for File::Spec, and because of that it fails on systems without /tmp (Android, Blackberry 10) unless they have a special case in the code.

A quick fix is to add a 'return 1 if ! -e $tmpdir' right after $tmpdir is guessed, which makes the test pass; I suppose that the proper fix would be to create your own tmpdir under pwd and then removing it, but that seems like too much work for too little gain.

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