summaryrefslogtreecommitdiffstats
path: root/docs/xml
diff options
context:
space:
mode:
authortravis%sedsystems.ca <>2005-01-19 01:39:30 +0100
committertravis%sedsystems.ca <>2005-01-19 01:39:30 +0100
commit47552954db6be6abcf3c27339fdb1063637c0066 (patch)
treef60cb46bae8a1dad45b5e10ac7b917d3b583bdd5 /docs/xml
parente7f07d5e8fd801576080ee9ff295f7631be894fa (diff)
downloadbugzilla-47552954db6be6abcf3c27339fdb1063637c0066.tar.gz
bugzilla-47552954db6be6abcf3c27339fdb1063637c0066.tar.xz
Bug 278336 : goodperl.t now checks shebang lines for /usr/bin/perl
Patch by travis@sedsystems.ca r=vladd
Diffstat (limited to 'docs/xml')
-rw-r--r--docs/xml/faq.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/xml/faq.xml b/docs/xml/faq.xml
index fde17b8ea..5547ce5d4 100644
--- a/docs/xml/faq.xml
+++ b/docs/xml/faq.xml
@@ -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">