From: travis%sedsystems.ca <> Date: Wed, 19 Jan 2005 00:40:20 +0000 (+0000) Subject: Bug 278336 : goodperl.t now checks shebang lines for /usr/bin/perl X-Git-Tag: bugzilla-2.18.1~56 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54878847f42ae628602b47edd90a72680e908b13;p=thirdparty%2Fbugzilla.git Bug 278336 : goodperl.t now checks shebang lines for /usr/bin/perl Patch by travis@sedsystems.ca r=vladd --- diff --git a/docs/xml/faq.xml b/docs/xml/faq.xml index fde17b8ea5..5547ce5d4e 100644 --- a/docs/xml/faq.xml +++ b/docs/xml/faq.xml @@ -260,6 +260,19 @@ C:\mysql\bin\replace "#!/usr/bin/perl" "#!C:\perl\bin\perl" -- *.cgi *.pl /usr/local/bin/perl with your own perl path. + + Once you've modified all your files, you'll also need to modify the + t/002goodperl.t test, as it tests that all + shebang lines are equal to /usr/bin/perl. + (For more information on the test suite, please check out the + appropriate section in the Developers' + Guide.) Having done this, run the test itself: + +perl runtests.pl 2 --verbose + + to ensure that you've modified all the relevant files. + If using Apache on Windows, you can avoid the whole problem by setting the