My bad, sorry, works all right now.  Don't mind me anymore ;-p

On Sat, Sep 15, 2001 at 04:35:00PM +0800, Stas Bekman wrote:
> On Sat, 15 Sep 2001, Philippe M . Chiasson wrote:
> 
> > On Sat, Sep 15, 2001 at 02:04:13AM +0800, Stas Bekman wrote:
> > >
> > > OK, here is the patch that:
> > >
> > > - adds the writefile sub to genfile+throw content in
> > > - adds a scan for APACHE_TEST_CONFIGURE and its execution
> > > - implements the PerlRequire test
> > >
> > > the ugly parts:
> > >
> > > - I wish PerlSwitches were working with +Parent, so I didn't have to do
> > >   the ugly hack with adding yet another PerlRequire
> > >
> > > - +Parent, doesn't worry to load the test INCs so every test has to do it
> > >   manually, would be nice to do it in-core
> > >
> > > - +Parent doesn't clean @INC from the main interpreter, run the test:
> > >   ./t/TEST -v directive/perlrequire
> > >   and check the error_log -- you will see that VH includes the INC path
> > >   defined in the main interpreter. I'm talking about:
> > >   /home/stas/apache.org/registry/t/htdocs/testdirectives/main
> > >   generated by:
> > >   +PerlSwitches -Mlib=@documentroot@/testdirectives/main
> >
> > Fails for me with this :
> >
> > directive/perlrequire....
> > 1..2
> > Use of uninitialized value in concatenation (.) or string at 
>directive/perlrequire.t line 24.
> > dubious
> >         Test returned status 2 (wstat 512, 0x200)
> > DIED. FAILED tests 1-2
> >         Failed 2/2 tests, 0.00% okay
> > Failed Test             Stat Wstat Total Fail  Failed  List of Failed
> > -------------------------------------------------------------------------------
> > directive/perlrequire.t    2   512     2    2 100.00%  1-2
> > server localhost.localdomain:8529 shutdown
> > [Sat Sep 15 14:41:21 2001] [info] removed PID file 
>/home/gozer/sources/mod_perl2/cvs/t/logs/httpd.pid (pid=16752)
> > [Sat Sep 15 14:41:21 2001] [notice] caught SIGTERM, shutting down
> > error running tests (please examine t/logs/error_log)
> > Failed 1/1 test scripts, 0.00% okay. 2/2 subtests failed, 0.00% okay.
> >
> > And error_log doesn't say anything interesting ;(
> 
> That's because you didn't run './t/TEST -clean' first. So the test
> enviroment wasn't configured. Try again.
> 
> _____________________________________________________________________
> Stas Bekman              JAm_pH     --   Just Another mod_perl Hacker
> http://stason.org/       mod_perl Guide  http://perl.apache.org/guide
> mailto:[EMAIL PROTECTED]   http://apachetoday.com http://eXtropia.com/
> http://singlesheaven.com http://perl.apache.org http://perlmonth.com/
> 
> 

-- 
Philippe M. Chiasson  <[EMAIL PROTECTED]>
  Extropia's Resident System Guru
     http://www.eXtropia.com/

There are three kinds of lies: lies, damned lies, and cute
sayings like this one. 
        -- Larry Wall

perl -e '$$=\${gozer};{$_=unpack(P26,pack(L,$$));/^Just Another Perl 
Hacker!\n$/&&print||$$++&&redo}'

PGP signature

Reply via email to