httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Schaefer <joe+gm...@sunstarsys.com>
Subject Re: cvs commit: httpd-apreq-2/glue/perl/t/response/TestApReq inherit.pm request.pm
Date Sat, 14 Jun 2003 08:44:50 GMT
Stas Bekman <stas@stason.org> writes:

> joes@apache.org wrote:
> > joes        2003/06/13 02:46:52
> >   Modified:    glue/perl/t TEST.PL
> >                glue/perl/t/apreq big_input.t cookie.t inherit.t request.t
> >                glue/perl/t/response/TestApReq inherit.pm request.pm
> 
> >   Index: request.t
> >   ===================================================================
> >   RCS file: /home/cvs/httpd-apreq-2/glue/perl/t/apreq/request.t,v
> >   retrieving revision 1.1
> >   retrieving revision 1.2
> >   diff -u -r1.1 -r1.2
> >   --- request.t	9 Jun 2003 06:30:04 -0000	1.1
> >   +++ request.t	13 Jun 2003 09:46:52 -0000	1.2
> >   @@ -1,3 +1,4 @@
> >   +#!/usr/bin/perl
> 
> May I ask, why this path is hardcoded? 

It serves no practical purpose other than to inform emacs of the 
file type (as well as being conventional for perl scripts).  The 
tests (.t files) aren't ever directly executed by a shell, so the 
actual path isn't important.

> This is certainly a bite for problems, when people have several perl
> installs and they build with non-/usr/bin/perl but get to test with
> it.

Nah, it won't cause any problems; the tests are always run with 
$^X, not #!.

-- 
Joe Schaefer


Mime
View raw message