Commit 7f9b5813 authored by zach%zachlipton.com's avatar zach%zachlipton.com

Fix for bug 135291: add version string to new templates and fix the string for non

xml templates. r=bbaetz, r2=ddk
parent 2cdfeb46
......@@ -94,7 +94,7 @@ close SAVEERR;
foreach my $file(@testitems) {
open(TMPL,"$include_path/$file");
my $firstline = <TMPL>;
if ($firstline =~ /<!-- \d+\.\d+\@[\w\._]+ -->/) {
if ($firstline =~ /\d+\.\d+\@[\w\.-]+/) {
ok(1,"$file has a version string");
} else {
ok(0,"$file does not have a version string --ERROR");
......
<!-- 1.0@bugzilla.org -->
[%# The contents of this file are subject to the Mozilla Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
......
<!-- 1.0@bugzilla.org -->
[%# The contents of this file are subject to the Mozilla Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
......
<!-- 1.0@bugzilla.org -->
[%# 1.0@bugzilla.org %]
[%# -*- mode: sgml -*- %]
[%# The contents of this file are subject to the Mozilla Public
# License Version 1.1 (the "License"); you may not use this file
......
<!-- 1.0@bugzilla.org -->
[%# 1.0@bugzilla.org %]
[%# The contents of this file are subject to the Mozilla Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
......
<!-- 1.0@bugzilla.org -->
[%# 1.0@bugzilla.org %]
[%# The contents of this file are subject to the Mozilla Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
......
<!-- 1.0@bugzilla.org -->
[%# 1.0@bugzilla.org %]
[%# The contents of this file are subject to the Mozilla Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment