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

Cygwin Test Errors #35

Open
jmaslak opened this issue Apr 22, 2016 · 1 comment
Open

Cygwin Test Errors #35

jmaslak opened this issue Apr 22, 2016 · 1 comment

Comments

@jmaslak
Copy link

jmaslak commented Apr 22, 2016

I'm running Win10 with basically standard configuration. Cygwin is recent install with defaults (other than package selection) for x86-64. I get these errors on File::Path when I try to install under either Perl 5.22.1 or 5.24.0-RC1. These errors also keep perlbrew from being able to cleanly builld a perl on Cygwin. All errors are in t/Path.t.

#   Failed test 'create a new directory with chmod 56 (0070)'
#   at t/Path.t line 479.
#          got: '504'
#     expected: '56'

#   Failed test 'create a new directory with chmod 24 (0030)'
#   at t/Path.t line 479.
#          got: '216'
#     expected: '24'

#   Failed test 'create a new directory with chmod 8 (0010)'
#   at t/Path.t line 479.
#          got: '72'
#     expected: '8'

#   Failed test 'create a new directory with chmod 249 (0371)'
#   at t/Path.t line 479.
#          got: '505'
#     expected: '249'

#   Failed test 'create a new directory with chmod 123 (0173)'
#   at t/Path.t line 479.
#          got: '507'
#     expected: '123'

#   Failed test 'create a new directory with chmod 95 (0137)'
#   at t/Path.t line 479.
#          got: '223'
#     expected: '95'
# Looks like you failed 6 tests of 127.
t/Path.t ........
Dubious, test returned 6 (wstat 1536, 0x600)
Failed 6/127 subtests

If it helps, Cygwin does some odd stuff to file permissions. Here's a sample:

$ echo test >test.txt
$ ls -l test.txt
-rw-r--r-- 1 jmasl jmasl 5 Apr 21 21:04 test.txt
$ chmod 077 test.txt
$ ls -l test.txt
-rwxrwxrwx 1 jmasl jmasl 5 Apr 21 21:04 test.txt
@rpcme
Copy link
Owner

rpcme commented May 10, 2016

Normally these issues are reported to the Cygwin ml. They are aware of issues even building Perl itself - especially 5.16 and 5.18.

Have you worked this through that list yet? https://www.cygwin.com/ml/cygwin/

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

2 participants