bbaetz%student.usyd.edu.au
3c350cfa09
Bug 150770 - Lost <nobr> arround query results
...
r=jouni, justdave
git-svn-id: svn://10.0.0.236/trunk@124385 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-01 03:30:23 +00:00
zach%zachlipton.com
f1c8349267
Fix for bug 143124, Fix warning messages about *::TESTOUT and clean up
...
test code. Patch makes the tests much better now.
r=zach x2
git-svn-id: svn://10.0.0.236/trunk@121127 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 23:49:32 +00:00
gerv%gerv.net
fc485f3bf1
Bug 140435 - Templatise GetCommandMenu. Patch by gerv; r=bbaetz, justdave.
...
git-svn-id: svn://10.0.0.236/trunk@120980 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 21:28:52 +00:00
bbaetz%student.usyd.edu.au
06efba3015
Bug 135543 - @Support::Templates::testitems does not list all templates
...
Patch by ddkilzer@theracingworld.com (David D. Kilzer), r=gerv, justdave
git-svn-id: svn://10.0.0.236/trunk@120934 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 09:45:32 +00:00
gerv%gerv.net
f57c616c0a
Bug 136180 - use uri/url_quote filters correctly. Patch by ddk; 2xr=gerv.
...
git-svn-id: svn://10.0.0.236/trunk@119723 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 18:27:43 +00:00
justdave%syndicomm.com
5e27b4391b
Fix tinderbox bustage caused by the template location code change. The tests are now looking in the right place for the
...
templates. 4 templates in the new location now come up with syntax errors however.
git-svn-id: svn://10.0.0.236/trunk@119701 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 09:50:53 +00:00
gerv%gerv.net
fab1e962a2
Bug 137589 - fix test 4 not to hang on the "use CGI" in the template.
...
git-svn-id: svn://10.0.0.236/trunk@119245 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 21:10:43 +00:00
zach%zachlipton.com
5314a8ca56
Fix for bug 135291: add version string to new templates and fix the string for non
...
xml templates.
r=bbaetz, r2=ddk
git-svn-id: svn://10.0.0.236/trunk@118086 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-04 07:01:17 +00:00
zach%zachlipton.com
0fb81cfa92
Fix for bug 98658: Let administrator know which customised templates have been updated by Bugzilla team.
...
Patch adds a version string to every template and a check in
t/004template.t to check for version strings in templates.
Note that two templates that were not included in the initial patch
now have version strings added.
r=justdave, r2=myk
git-svn-id: svn://10.0.0.236/trunk@118028 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-03 20:01:42 +00:00
bbaetz%student.usyd.edu.au
c61d5aa145
Bug 130254 - Template params don't have to exist, since they may be
...
subject to interpolation. Ignore names with $ in them as a workaround
r=myk x 2
git-svn-id: svn://10.0.0.236/trunk@116391 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 13:33:55 +00:00
jake%acutex.net
1b0baad92a
Update the test to use the same basic format as the handling code from globals.pl
...
git-svn-id: svn://10.0.0.236/trunk@114406 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 19:24:05 +00:00
justdave%syndicomm.com
c148fadef8
Fix for bug 108982: enable taint mode for all user-facing CGI files.
...
Patch by Brad Baetz <bbaetz@student.usyd.edu.au>
r= jake, justdave
git-svn-id: svn://10.0.0.236/trunk@112490 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-20 01:44:52 +00:00
dkl%redhat.com
8d6ec47425
Fix for bug 119060 - Use of Template.pm filters for url and html encoding. r=jake,dkl
...
git-svn-id: svn://10.0.0.236/trunk@112436 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-18 16:50:08 +00:00
zach%zachlipton.com
d10de70251
Additional fix for bug 112914: "Test should not cat $file" Previous
...
patch fixed the problem, but this patch stops once it finds strict so
it will not take as long to run.
Patch by ddkilzer@theracingworld.com . R=zach@zachlipton.com though review
is not required for tests.
git-svn-id: svn://10.0.0.236/trunk@111930 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-11 03:53:18 +00:00
jake%acutex.net
00a0bd35b2
Bug 112914 - This test was relying on the existance of the unix "cat" command instead of using perl's standard open() function. This caused a test failed when running the tinderbox script on win32.
...
git-svn-id: svn://10.0.0.236/trunk@111359 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-04 16:04:09 +00:00
jake%acutex.net
e0604e6a44
Get the file list of files to scan for templates from Support::Files instead of glob('*')
...
git-svn-id: svn://10.0.0.236/trunk@109381 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 21:49:47 +00:00
zach%zachlipton.com
0d8c3fd7a1
Fix the double testing of .pm files.
...
No review needed for tests at this time.
git-svn-id: svn://10.0.0.236/trunk@108382 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-17 17:29:06 +00:00
jake%acutex.net
ff3e46489b
We don't really need to look for fragments that are pulled in by [% INCLUDE %] or [% PROCESS %]. While removing this code bit doesn't allow us to seperatly check that those fragments exist and compile, they'll be checked atomatically when the the template that wants them is run through the process() routine by the 004template.t test. This issue was raised because bug 98707 introduced a [% BLOCK %] element and the syntax for using that is the same as for including a template fragment.
...
git-svn-id: svn://10.0.0.236/trunk@108008 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 03:44:07 +00:00
zach%zachlipton.com
a96de0e001
Have the tests test .pm files as well, yes this creates bustage, this is
...
intentional!
No review needed for tests at this time.
git-svn-id: svn://10.0.0.236/trunk@106772 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-31 01:06:31 +00:00
jake%acutex.net
be3ee559e5
A few enhancements to the template test:
...
* If there's a compilation error, report what it is
* Don't try to compile a template if it doesn't exist
- We already tested for that and issued an ERROR
* Define the 'url' FILTER
git-svn-id: svn://10.0.0.236/trunk@106481 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 15:27:31 +00:00
jake%acutex.net
e8bbc7ef2a
Check templates for tabs, also.
...
git-svn-id: svn://10.0.0.236/trunk@106358 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 13:21:38 +00:00
jake%acutex.net
f6426c6f03
Don't rely on the TEST_VERBOSE environment variable (no longer exported from runtests.sh) and instead print to the TESTOUT file handle pulled in from Test::More. This will allow the testing backend to check for verbosity rather than having to handle it in the .t files.
...
git-svn-id: svn://10.0.0.236/trunk@106182 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 18:41:53 +00:00
jake%acutex.net
5f73a3f4db
Bug 106424 - We weren't going orange on warnings such as "used only once". This script now properly outputs the --WARNING and fails on such a condition.
...
git-svn-id: svn://10.0.0.236/trunk@106166 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 13:29:49 +00:00
jake%acutex.net
457d72aeff
Bug 103664 - Tests should "use strict;" and not contain any tabs. We should also use the TEST_VERBOSE environment variable instead of VERBOSE.
...
Patch by David D. Kilzer <ddkilzer@theracingworld.com>
Additional edits by myself to add the emacs mode line. Also, the change to runtests.sh was done by me.
git-svn-id: svn://10.0.0.236/trunk@105842 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 22:39:51 +00:00
justdave%syndicomm.com
faaffb8eec
yet another meaningless whitespace change to test tinderbox with
...
git-svn-id: svn://10.0.0.236/trunk@105767 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 13:03:52 +00:00
justdave%syndicomm.com
ed3ed56299
another useless whitespace change to test tinderbox with
...
git-svn-id: svn://10.0.0.236/trunk@105758 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 06:19:52 +00:00
justdave%syndicomm.com
ad30940b5e
whitespace change to test tinderbox again.
...
git-svn-id: svn://10.0.0.236/trunk@105754 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 05:33:23 +00:00
justdave%syndicomm.com
d8d8ecf9f8
whitespace change to do a test checkin to see how tinderbox reacts
...
git-svn-id: svn://10.0.0.236/trunk@105750 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 04:36:19 +00:00
jake%acutex.net
c61edb13da
Tabs are not allowed in Bugzilla source... if we find one, issue a warning.
...
No review needed for tests at this time. NOT PART OF BUILD
git-svn-id: svn://10.0.0.236/trunk@105346 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 01:44:06 +00:00
jake%acutex.net
f7494556d7
If a template doesn't exist, this should be considered a compile failure.
...
No review needed for tests at this time. NOT PART OF BUILD
git-svn-id: svn://10.0.0.236/trunk@105280 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 20:35:37 +00:00
jake%acutex.net
5a2be9a074
It's also possible to PROCESS another attachment fragment, not just INCLUDE.
...
No review needed for tests at this time. NOT PART OF BUILD.
git-svn-id: svn://10.0.0.236/trunk@104924 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 19:14:59 +00:00
jake%acutex.net
351aff7b88
Allow compile tests for files that run in taint mode
...
No review needed for tests at this time. NOT PART OF BUILD
git-svn-id: svn://10.0.0.236/trunk@104751 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 23:22:48 +00:00
jake%acutex.net
1ee80bca07
We also need to look for templates that are INCLUDEd in other templates.
...
No review needed for tests at this time. NOT PART OF BUILD
git-svn-id: svn://10.0.0.236/trunk@104747 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 21:37:22 +00:00
jake%acutex.net
80835a0679
Test that scans Bugzilla's code looking for used templates then checks to make sure that:
...
a) All the required templates exist
b) They all have good syntax
No review needed for tests at this time. NOT PART OF BUILD
git-svn-id: svn://10.0.0.236/trunk@104740 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 18:59:36 +00:00
zach%zachlipton.com
b20d770736
Fixing issue where excluded files aren't excluded if they end in .pl or
...
.cgi.
git-svn-id: svn://10.0.0.236/trunk@104720 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 03:49:06 +00:00
zach%zachlipton.com
a045f6a3ce
Don't test importxml.pl since you need XML::Parser which is not required,
...
creating a false fail.
No review needed for tests. NOT PART OF BUILD
git-svn-id: svn://10.0.0.236/trunk@104718 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 03:25:43 +00:00
zach%zachlipton.com
ed06973963
Get rid of our which causes errors on 5.005.
...
No review needed for tests at this time. NOT PART OF BUILD
git-svn-id: svn://10.0.0.236/trunk@104711 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 01:23:38 +00:00
zach%zachlipton.com
c3991b060c
Renaming *.t to be 00*.t to solve any sorting issues down the road as per
...
bug 97976.
No review required for tests at this time. NOT_PART_OF_BUILD
git-svn-id: svn://10.0.0.236/trunk@103570 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-23 04:08:44 +00:00
zach%zachlipton.com
d3d55e6e94
*** empty log message ***
...
git-svn-id: svn://10.0.0.236/trunk@103569 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-23 04:02:19 +00:00
zach%zachlipton.com
be39f40d3c
Fix to make the tests generate the list of files to test instead of having to update the list manually whenever a file is added
...
or removed. The main logic is in t/Support/Files.pm, changes to the test files are needed to allow it to function properly.
NOT_PART_OF_BUILD. No review needed for tests at this time.
git-svn-id: svn://10.0.0.236/trunk@102988 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-16 18:35:18 +00:00
zach%zachlipton.com
c98ca09634
Make this file test for exec calls in addition to system calls that are
...
one-argument and are therefore insecure.
NOT_PART_OF_BUILD, no review needed.
git-svn-id: svn://10.0.0.236/trunk@102986 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-16 17:52:19 +00:00
zach%zachlipton.com
ca5d6d78c2
Oops. Forgot to check this is.
...
git-svn-id: svn://10.0.0.236/trunk@102621 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-09 19:48:15 +00:00
zach%zachlipton.com
ab18280466
Adding a test for safe system and exec calls. Part of this code by Dave.
...
git-svn-id: svn://10.0.0.236/trunk@102254 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 01:43:25 +00:00
zach%zachlipton.com
3254c8a684
Add a little 1; to the end of this.
...
git-svn-id: svn://10.0.0.236/trunk@102201 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-04 04:28:24 +00:00
zach%zachlipton.com
34e0aa80c0
Actually make the strict checking work.
...
git-svn-id: svn://10.0.0.236/trunk@102197 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-03 22:11:43 +00:00
zach%zachlipton.com
845e5fbbee
add tests for use strict;
...
git-svn-id: svn://10.0.0.236/trunk@102196 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-03 22:04:09 +00:00
zach%zachlipton.com
90cc2fe587
Enforce -w. This file will also be used to enforce use strict;
...
git-svn-id: svn://10.0.0.236/trunk@102195 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-03 21:43:22 +00:00
zach%zachlipton.com
9f27644a48
Rename 1.t to 1compile.t as per bug 97976.
...
git-svn-id: svn://10.0.0.236/trunk@102193 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-03 20:17:40 +00:00
zach%zachlipton.com
7c0be6c517
Remove processmail from the list. It was causing problems with taint.
...
git-svn-id: svn://10.0.0.236/trunk@102192 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-03 19:39:37 +00:00
zach%zachlipton.com
488ccb60b0
Ok, really this time. This should work :)
...
git-svn-id: svn://10.0.0.236/trunk@102190 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-03 19:26:58 +00:00