]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 278336 : goodperl.t now checks shebang lines for /usr/bin/perl
authortravis%sedsystems.ca <>
Wed, 19 Jan 2005 00:40:20 +0000 (00:40 +0000)
committertravis%sedsystems.ca <>
Wed, 19 Jan 2005 00:40:20 +0000 (00:40 +0000)
Patch by travis@sedsystems.ca    r=vladd

docs/xml/faq.xml

index fde17b8ea57d785dc853668e9c7ea3aafb4a1b1b..5547ce5d4e9f83f0a021bb5e6db402d2854aeed7 100644 (file)
@@ -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