Skip Menu |

This queue is for tickets about the App-perlbrew CPAN distribution.

Report information
The Basics
Id: 125431
Status: open
Priority: 0/
Queue: App-perlbrew

Owner: Nobody in particular
Requestors: SREZIC [...]

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

Subject: t/http-ua-detect-non-curl.t fails (0.83)
Download (untitled) / with headers
text/plain 896b
On all of my smokers: # PATH=/usr/home/eserte/.cpan/build/2018053000/App-perlbrew-0.83-2/t/fake-bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/cpansand/bin/freebsd9.3:/home/cpansand/bin/sh:/home/cpansand/bin:/usr/games:/home/cpansand/devel:/usr/home/eserte/src/srezic-misc/scripts # curl = /usr/local/bin/curl # Failed test at t/http-ua-detect-non-curl.t line 18. # got: '/usr/local/bin/curl' # expected: '/usr/home/eserte/.cpan/build/2018053000/App-perlbrew-0.83-2/t/fake-bin/curl' # Failed test 'UA: curl' # at t/http-ua-detect-non-curl.t line 29. # got: 'curl' # expected: 'wget' # Looks like you failed 2 tests of 2. t/http-ua-detect-non-curl.t ............ Dubious, test returned 2 (wstat 512, 0x200) Failed 2/2 subtests This is an example log from a freebsd system. On linux systems the got value is different (/usr/bin/curl).
Subject: [ #125431] t/http-ua-detect-non-curl.t fails
Date: Sat, 9 Jun 2018 06:39:34 +0200
To: bug-App-perlbrew [...]
From: Stephan Sachse <ste.sachse [...]>
Download (untitled) / with headers
text/plain 262b
the problem is 'App-perlbrew-0.83/t/fake-bin/curl' from the tarbal. there is no execute bit set. but File::Which checks for it ( -- Software is like sex, it's better when it's free!
Download (untitled) / with headers
text/plain 229b
This issue was resolved in 0.84. The tarball made since 0.83 was produced by mbtiny and that has a side effect of not reserving file permission mode in the process. I had to update the test briefly to accomodate this situation.

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

Please report any issues with to