Skip Menu |

This queue is for tickets about the CPANPLUS-Test-Dummy-UsesScript CPAN distribution.

Report information
The Basics
Id: 118974
Status: resolved
Priority: 0/
Queue: CPANPLUS-Test-Dummy-UsesScript

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

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



Subject: t/02_script.t fails depending on $PATH
If the current perl is not in user's PATH then t/02_script.t fails (even if CPANPLUS-Test-Dummy-HasScript is installed): $ perl5.24.1-RC4 -Mblib t/02_script.t 1..1 Can't exec "pdummydummy": No such file or directory at t/02_script.t line 5. not ok 1 - Result should be zero, mmmkay # Failed test 'Result should be zero, mmmkay' # at t/02_script.t line 6. # got: '-1' # expected: '0' # Looks like you failed 1 test of 1. See also: http://matrix.cpantesters.org/?dist=CPANPLUS-Test-Dummy-UsesScript%200.0004
On Sat Nov 26 04:44:59 2016, SREZIC wrote: Show quoted text
> If the current perl is not in user's PATH then t/02_script.t fails > (even if CPANPLUS-Test-Dummy-HasScript is installed): > > $ perl5.24.1-RC4 -Mblib t/02_script.t > 1..1 > Can't exec "pdummydummy": No such file or directory at t/02_script.t > line 5. > not ok 1 - Result should be zero, mmmkay > # Failed test 'Result should be zero, mmmkay' > # at t/02_script.t line 6. > # got: '-1' > # expected: '0' > # Looks like you failed 1 test of 1. > > > See also: http://matrix.cpantesters.org/?dist=CPANPLUS-Test-Dummy- > UsesScript%200.0004
The whole purpose of this module is to test functionality in CPANPLUS and in CPANPLUS this test passes as it updates the PATH to include script directories for things it is testing.