develooper Front page | perl.perl5.porters | Postings from January 2018

Re: [perl #132648] Cwd: different return values between pure perland XS variants

Thread Previous | Thread Next
From:
Tony Cook
Date:
January 15, 2018 02:32
Subject:
Re: [perl #132648] Cwd: different return values between pure perland XS variants
Message ID:
20180115023156.wo7mjwldn7e4ekwr@mars.tony.develop-help.com
On Sun, Dec 24, 2017 at 11:15:47AM +0000, Zefram wrote:
> Fixed in commit d2e38af7de734aa1e317de7166c6995e432e2f30.

This new test has been failing on cygwin since it was introduced.

tony@saturn ~/dev/perl/git/perl/t
$ ./perl harness -v ../dist/PathTools/t/cwd_enoent.t
../dist/PathTools/t/cwd_enoent.t ..
1..8
not ok 1 - regular getcwd result on non-existent directory
#   Failed test 'regular getcwd result on non-existent directory'
#   at t/cwd_enoent.t line 30.
#          got: '/tmp/4WuHD3C4IY/testdir'
#     expected: undef
not ok 2 - regular getcwd errno on non-existent directory
#   Failed test 'regular getcwd errno on non-existent directory'
#   at t/cwd_enoent.t line 31.
#          got: '0'
#     expected: '2'
.: No such file or directory at t/cwd_enoent.t line 33.
# Looks like your test exited with 2 just after 2.
.: No such file or directory at ../../lib/File/Temp.pm line 777.
END failed--call queue aborted.
Dubious, test returned 2 (wstat 512, 0x200)
Failed 8/8 subtests

Test Summary Report
-------------------
../dist/PathTools/t/cwd_enoent.t (Wstat: 512 Tests: 2 Failed: 2)
  Failed tests:  1-2
  Non-zero exit status: 2
  Parse errors: Bad plan.  You planned 8 tests but ran 2.
Files=1, Tests=2,  0 wallclock secs ( 0.00 usr  0.00 sys +  0.09 cusr  0.00 csys =  0.09 CPU)
Result: FAIL

tony@saturn ~/dev/perl/git/perl/t
$ git describe
v5.27.7-132-g22803c6a19

Tony

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About