You are viewing a plain text version of this content. The canonical link for it is here.
Posted to test-dev@httpd.apache.org by Stas Bekman <st...@stason.org> on 2001/08/07 07:38:49 UTC

perl-framework/README doc fix

in perl-framework/README:

The test program is always started as t/TEST, which won't work on setups
not having . in the PATH env var, so it's better to use:

 ./t/TEST ...

since the script uses a hardcoded path to /usr/local/bin/perl, and some
systems have the perl executable installed in /usr/bin/perl and don't have
a symlink from /usr/local/bin/perl, an even better way to document is:

 perl ./t/TEST ...

_____________________________________________________________________
Stas Bekman              JAm_pH     --   Just Another mod_perl Hacker
http://stason.org/       mod_perl Guide  http://perl.apache.org/guide
mailto:stas@stason.org   http://apachetoday.com http://eXtropia.com/
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/





Re: perl-framework/README doc fix

Posted by Stas Bekman <st...@stason.org>.
On Tue, 7 Aug 2001, Barrie Slaymaker wrote:

> On Tue, Aug 07, 2001 at 01:38:49PM +0800, Stas Bekman wrote:
> > in perl-framework/README:
> >
> > The test program is always started as t/TEST, which won't work on setups
> > not having . in the PATH env var
>
> Sure it will.  A command containing a "/" is not evaluated against PATH,
> it's relative to the cwd.

Oops, you are right. My problem was not having perl at
/usr/local/bin/perl.

> > an even better way to document is:
> >
> >  perl ./t/TEST ...
>
> That's true, but the "./" is not necessary here either.

:) I'm just used to it, for running all local apps

_____________________________________________________________________
Stas Bekman              JAm_pH     --   Just Another mod_perl Hacker
http://stason.org/       mod_perl Guide  http://perl.apache.org/guide
mailto:stas@stason.org   http://apachetoday.com http://eXtropia.com/
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/



Re: perl-framework/README doc fix

Posted by Barrie Slaymaker <ba...@slaysys.com>.
On Tue, Aug 07, 2001 at 01:38:49PM +0800, Stas Bekman wrote:
> in perl-framework/README:
> 
> The test program is always started as t/TEST, which won't work on setups
> not having . in the PATH env var

Sure it will.  A command containing a "/" is not evaluated against PATH,
it's relative to the cwd.

> an even better way to document is:
> 
>  perl ./t/TEST ...

That's true, but the "./" is not necessary here either.

- Barrie