Bug in tests for libwww
Lack Mr G M (gml4410@ggr.co.uk)
Thu, 09 Jul 1998 19:03:24 +0100
t/robot/ua.t & t/local/http.t both use this construct:
else {
use Config;
open(DAEMON , "$Config{'perlpath'} robot/ua.t daemon |") or die
"Can't exec$
}
This only wokrs if the perl you are working with is already
installed.
I am currently in the process of updating perl and everythign which
goes with it everything, so $Config{'perlpath'} refers to where it will
be - at the momnet the previous versio is still there. Consequently I
get this:
> local/http..........Perl lib version (5.00404) doesn't match executable version
> (5.00325) at /usr/central/lib/perl5/5.00404/Config.pm line 7.
> BEGIN failed--compilation aborted at local/http.t line 33.
Replacing $Config{'perlpath'} with just perl (testing was being done
with a PATH set such that perl was a symlink to the new version)
allowed
all tests to pass. Why not just use perl?