diff options
author | jake%bugzilla.org <> | 2003-03-27 09:06:37 +0100 |
---|---|---|
committer | jake%bugzilla.org <> | 2003-03-27 09:06:37 +0100 |
commit | 9665c0e6a0ee98cdd113e11b86d3efab474464c0 (patch) | |
tree | 53f75f6c8f1207c6dfba7209709e8a4bb9cca27f /t | |
parent | d97f96781715a3d13dc99deb616aa63c4aeb42d5 (diff) | |
download | bugzilla-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')
-rw-r--r-- | t/002goodperl.t | 4 |
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"); |