Skip Menu |
 

This queue is for tickets about the PAR-Packer CPAN distribution.

Report information
The Basics
Id: 33349
Status: resolved
Priority: 0/
Queue: PAR-Packer

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.977
Fixed in: (no value)



Subject: t/30-current_exec.t fails under FreeBSD
Download (untitled) / with headers
text/plain 1.4k
Running t/30-current_exec.t fails under FreeBSD: not ok 3 - Found the same file via PATH and full path # Failed test 'Found the same file via PATH and full path' # at t/30-current_exec.t line 52. # got: '0 = /mnt/i386/usr/local/src/CPAN/new.build/PAR-Packer-0.977-1UE yx0/t/test-10.exec # PAR_PROGNAME = /mnt/i386/usr/local/src/CPAN/new.build/PAR-Packer-0.977-1UEyx0/ t/test-10.exec # PAR_TEMP = /mnt/i386/usr/local/src/CPAN/new.build/PAR-Packer-0.977-1UEyx0/t-tm p/par-eserte/cache-5b62cd9780d0c3b33c900b2bbb35ba6cace9dcb7 # exec = /mnt/i386/usr/local/src/CPAN/new.build/PAR-Packer-0.977-1UEyx0/t-tmp/pa r-eserte/cache-5b62cd9780d0c3b33c900b2bbb35ba6cace9dcb7/test-10.exec # ' # expected: '0 = /mnt/i386/usr/local/src/CPAN/new.build/PAR-Packer-0.977-1UE yx0/t/test-10.exec # PAR_PROGNAME = /mnt/i386/usr/local/src/CPAN/new.build/PAR-Packer-0.977-1UEyx0/ t/test-10.exec # PAR_TEMP = /mnt/i386/usr/local/src/CPAN/new.build/PAR-Packer-0.977-1UEyx0/t-tm p/par-eserte/cache-5b62cd9780d0c3b33c900b2bbb35ba6cace9dcb7 # exec = unknown # ' # Please wait The problem is that /proc/curproc/file may point to unknown in some circumstances. This is an old known problem under FreeBSD, see http://www.freebsd.org/cgi/query-pr.cgi?pr=kern%2F35703&cat= Note the last sentence: "FreeBSD's procfs is deprecated." So the test should either be skipped on FreeBSD, or if "exec = unknown" is returned by the test program, then this test result should be ignored. Regards, Slaven
Fix in svn repository (change 585).


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.