Bug 278336 : goodperl.t now checks shebang lines for /usr/bin/perl
Patch by travis@sedsystems.ca r=vladd git-svn-id: svn://10.0.0.236/trunk@167944 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -260,6 +260,19 @@ C:\mysql\bin\replace "#!/usr/bin/perl" "#!C:\perl\bin\perl" -- *.cgi *.pl
|
||||
<filename>/usr/local/bin/perl</filename> with your own perl path.
|
||||
</para>
|
||||
</note>
|
||||
<para>
|
||||
Once you've modified all your files, you'll also need to modify the
|
||||
<filename>t/002goodperl.t</filename> test, as it tests that all
|
||||
shebang lines are equal to <filename>/usr/bin/perl</filename>.
|
||||
(For more information on the test suite, please check out the
|
||||
appropriate section in the <ulink
|
||||
url="http://www.bugzilla.org/docs/developer.html#testsuite">Developers'
|
||||
Guide</ulink>.) Having done this, run the test itself:
|
||||
<programlisting>
|
||||
perl runtests.pl 2 --verbose
|
||||
</programlisting>
|
||||
to ensure that you've modified all the relevant files.
|
||||
</para>
|
||||
<para>
|
||||
If using Apache on Windows, you can avoid the whole problem
|
||||
by setting the <ulink
|
||||
|
||||
Reference in New Issue
Block a user