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

autodie-2.11 failed t/flock.t #266

Closed
celogeek opened this issue Mar 30, 2012 · 1 comment
Closed

autodie-2.11 failed t/flock.t #266

celogeek opened this issue Mar 30, 2012 · 1 comment

Comments

@celogeek
Copy link

Test on Ubuntu 64 bits with perl-5.14.2 with threads

autodie module failed on flock.t test.

t/Fatal.t ........................ ok    
t/filehandles.t .................. ok   
t/fileno.t ....................... ok                                                                                                                 
t/flock.t ........................ 1/?
#   Failed test 'Double-flocking should be EWOULDBLOCK'
#   at t/flock.t line 62.
#          got: '29'
#     expected: '11'
#1 test of 4 failed.
t/flock.t ........................ Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/4 subtests

I have try on with same version of perl, but Test::More 0.98, and it pass.

@schwern
Copy link
Contributor

schwern commented Mar 30, 2012

This was due to dup_filehandles() accidentally writing to $!. #268 protects against that.

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

No branches or pull requests

2 participants