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