Skip Menu |
 

This queue is for tickets about the CGI-Kwiki CPAN distribution.

Report information
The Basics
Id: 2550
Status: new
Priority: 0/
Queue: CGI-Kwiki

People
Owner: Nobody in particular
Requestors:
Cc:
AdminCc:

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



Subject: t/test.t is not portable
Download (untitled) / with headers
text/plain 291b
I don't know if you got http://www.xray.mpe.mpg.de/mailing-lists/cpan-testers/2003-04/msg02224.html but you still got the same problem #ok(system("PERL5LIB=../../blib/lib;../../blib/script/kwiki-install") == 0); ok(system("$^X -Mblib=../../blib/lib ../../blib/script/kwiki-install") == 0);
From: Jost Krieger
Download (untitled) / with headers
text/plain 544b
[guest - Sat May 10 19:20:33 2003]: Show quoted text
> I don't know if you got > http://www.xray.mpe.mpg.de/mailing-lists/cpan-testers/2003- > 04/msg02224.html > but you still got the same problem > > #ok(system("PERL5LIB=../../blib/lib;../../blib/script/kwiki-install") > == 0); > ok(system("$^X -Mblib=../../blib/lib ../../blib/script/kwiki-install") > == 0);
That's not only not portable, it's plainly wrong, even on *nix it only works if PERL5LIB is already exported, otherwise it either uses an old kwiki-install or breaks (like for me today).
Download (untitled) / with headers
text/plain 642b
[guest - Thu Aug 7 16:31:54 2003]: Show quoted text
> [guest - Sat May 10 19:20:33 2003]: >
04/msg02224.html Show quoted text
> > but you still got the same problem > > > > #ok(system("PERL5LIB=../../blib/lib;../../blib/script/kwiki-
install") Show quoted text
> > == 0); > > ok(system("$^X -Mblib=../../blib/lib ../../blib/script/kwiki-
install") Show quoted text
> > == 0);
> > That's not only not portable, it's plainly wrong, even on *nix it only > works if PERL5LIB is already exported, otherwise it either uses an old > kwiki-install or breaks (like for me today).
How do you figure? Heard of %ENV?
Download (untitled) / with headers
text/plain 218b
Show quoted text
> > == 0); > > ok(system("$^X -Mblib=../../blib/lib ../../blib/script/kwiki-
install") Show quoted text
> > == 0);
> > That's not only not portable, it's plainly wrong
Try system("$^X -Mblib script/kwiki-install") instead


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.