Commit 47552954 authored by travis%sedsystems.ca's avatar travis%sedsystems.ca

Bug 278336 : goodperl.t now checks shebang lines for /usr/bin/perl

Patch by travis@sedsystems.ca r=vladd
parent e7f07d5e
......@@ -261,6 +261,19 @@ C:\mysql\bin\replace "#!/usr/bin/perl" "#!C:\perl\bin\perl" -- *.cgi *.pl
</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
url="http://httpd.apache.org/docs-2.0/mod/core.html#scriptinterpretersource">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment