summaryrefslogtreecommitdiffstats
path: root/t/002goodperl.t
diff options
context:
space:
mode:
authorjake%bugzilla.org <>2003-03-27 09:06:37 +0100
committerjake%bugzilla.org <>2003-03-27 09:06:37 +0100
commit9665c0e6a0ee98cdd113e11b86d3efab474464c0 (patch)
tree53f75f6c8f1207c6dfba7209709e8a4bb9cca27f /t/002goodperl.t
parentd97f96781715a3d13dc99deb616aa63c4aeb42d5 (diff)
downloadbugzilla-9665c0e6a0ee98cdd113e11b86d3efab474464c0.tar.gz
bugzilla-9665c0e6a0ee98cdd113e11b86d3efab474464c0.tar.xz
Bug 196433 - Bugzilla now uses /usr/bin/perl as the shebang line
r=justdave a=justdave
Diffstat (limited to 't/002goodperl.t')
-rw-r--r--t/002goodperl.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/002goodperl.t b/t/002goodperl.t
index f6f14adb5..1cfb6a06f 100644
--- a/t/002goodperl.t
+++ b/t/002goodperl.t
@@ -48,7 +48,7 @@ foreach my $file (@testitems) {
$file =~ m/.*\.(.*)/;
my $ext = $1;
- if ($file_line1 !~ /\/usr\/bonsaitools\/bin\/perl/) {
+ if ($file_line1 !~ m#/usr/bin/perl#) {
ok(1,"$file does not have a shebang");
} else {
my $flags;
@@ -71,7 +71,7 @@ foreach my $file (@testitems) {
next;
}
- if ($file_line1 =~ m#/usr/bonsaitools/bin/perl -$flags#) {
+ if ($file_line1 =~ m#/usr/bin/perl -$flags#) {
ok(1,"$file uses -$flags");
} else {
ok(0,"$file is MISSING -$flags --WARNING");