From 75c91624fcd318499f8d3d0536ca8fea4f661a10 Mon Sep 17 00:00:00 2001 From: "travis%sedsystems.ca" Date: Tue, 18 Jan 2005 16:40:20 +0000 Subject: [PATCH] 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 --- mozilla/webtools/bugzilla/docs/xml/faq.xml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/mozilla/webtools/bugzilla/docs/xml/faq.xml b/mozilla/webtools/bugzilla/docs/xml/faq.xml index fde17b8ea57..5547ce5d4e9 100644 --- a/mozilla/webtools/bugzilla/docs/xml/faq.xml +++ b/mozilla/webtools/bugzilla/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