summaryrefslogtreecommitdiffstats
path: root/t
AgeCommit message (Collapse)AuthorFilesLines
2002-05-09Fix for bug 143124, Fix warning messages about *::TESTOUT and clean upzach%zachlipton.com5-70/+100
test code. Patch makes the tests much better now. r=zach x2
2002-05-08Bug 140435 - Templatise GetCommandMenu. Patch by gerv; r=bbaetz, justdave.gerv%gerv.net1-0/+1
2002-05-07Bug 135543 - @Support::Templates::testitems does not list all templatesbbaetz%student.usyd.edu.au3-40/+90
Patch by ddkilzer@theracingworld.com (David D. Kilzer), r=gerv, justdave
2002-04-25Bug 136180 - use uri/url_quote filters correctly. Patch by ddk; 2xr=gerv.gerv%gerv.net1-2/+3
2002-04-24Fix tinderbox bustage caused by the template location code change. The ↵justdave%syndicomm.com1-1/+1
tests are now looking in the right place for the templates. 4 templates in the new location now come up with syntax errors however.
2002-04-18Bug 137589 - fix test 4 not to hang on the "use CGI" in the template.gerv%gerv.net1-0/+3
2002-04-04Fix for bug 135291: add version string to new templates and fix the string ↵zach%zachlipton.com1-1/+1
for non xml templates. r=bbaetz, r2=ddk
2002-04-04Fix for bug 98658: Let administrator know which customised templates have ↵zach%zachlipton.com1-3/+17
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
2002-03-12Bug 130254 - Template params don't have to exist, since they may bebbaetz%student.usyd.edu.au1-0/+3
subject to interpolation. Ignore names with $ in them as a workaround r=myk x 2
2002-02-14Update the test to use the same basic format as the handling code from ↵jake%acutex.net1-1/+2
globals.pl
2002-01-20Fix for bug 108982: enable taint mode for all user-facing CGI files.justdave%syndicomm.com1-3/+30
Patch by Brad Baetz <bbaetz@student.usyd.edu.au> r= jake, justdave
2002-01-19Fix for bug 119060 - Use of Template.pm filters for url and html encoding. ↵dkl%redhat.com1-2/+1
r=jake,dkl
2002-01-11Additional fix for bug 112914: "Test should not `cat $file`" Previouszach%zachlipton.com1-27/+35
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.
2002-01-05Bug 112914 - This test was relying on the existance of the unix "cat" ↵jake%acutex.net1-8/+13
command instead of using perl's standard open() function. This caused a test failed when running the tinderbox script on win32.
2001-12-01Get the file list of files to scan for templates from Support::Files instead ↵jake%acutex.net1-1/+3
of glob('*')
2001-11-18Fix the double testing of .pm files.zach%zachlipton.com1-7/+3
No review needed for tests at this time.
2001-11-14We don't really need to look for fragments that are pulled in by [% INCLUDE ↵jake%acutex.net1-15/+0
%] 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.
2001-10-31Have the tests test .pm files as well, yes this creates bustage, this iszach%zachlipton.com1-1/+1
intentional! No review needed for tests at this time.
2001-10-28A few enhancements to the template test:jake%acutex.net1-8/+32
* 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
2001-10-26Check templates for tabs, also.jake%acutex.net1-0/+5
2001-10-25Don't rely on the TEST_VERBOSE environment variable (no longer exported from ↵jake%acutex.net5-10/+9
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.
2001-10-24Bug 106424 - We weren't going orange on warnings such as "used only once". ↵jake%acutex.net1-3/+9
This script now properly outputs the --WARNING and fails on such a condition.
2001-10-20Bug 103664 - Tests should "use strict;" and not contain any tabs. We should ↵jake%acutex.net8-69/+82
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.
2001-10-19yet another meaningless whitespace change to test tinderbox withjustdave%syndicomm.com1-1/+1
2001-10-19another useless whitespace change to test tinderbox withjustdave%syndicomm.com1-1/+1
2001-10-19whitespace change to test tinderbox again.justdave%syndicomm.com1-1/+1
2001-10-19whitespace change to do a test checkin to see how tinderbox reactsjustdave%syndicomm.com1-1/+1
2001-10-13Tabs are not allowed in Bugzilla source... if we find one, issue a warning.jake%acutex.net1-0/+45
No review needed for tests at this time. NOT PART OF BUILD
2001-10-13If a template doesn't exist, this should be considered a compile failure.jake%acutex.net1-2/+2
No review needed for tests at this time. NOT PART OF BUILD
2001-10-10It's also possible to PROCESS another attachment fragment, not just INCLUDE.jake%acutex.net1-1/+1
No review needed for tests at this time. NOT PART OF BUILD.
2001-10-07Allow compile tests for files that run in taint modejake%acutex.net2-3/+10
No review needed for tests at this time. NOT PART OF BUILD
2001-10-07We also need to look for templates that are INCLUDEd in other templates.jake%acutex.net2-4/+22
No review needed for tests at this time. NOT PART OF BUILD
2001-10-07Test that scans Bugzilla's code looking for used templates then checks to ↵jake%acutex.net2-0/+108
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
2001-10-06Fixing issue where excluded files aren't excluded if they end in .pl orzach%zachlipton.com1-4/+5
.cgi.
2001-10-06Don't test importxml.pl since you need XML::Parser which is not required,zach%zachlipton.com1-1/+1
creating a false fail. No review needed for tests. NOT PART OF BUILD
2001-10-06Get rid of our which causes errors on 5.005.zach%zachlipton.com1-1/+5
No review needed for tests at this time. NOT PART OF BUILD
2001-09-23Renaming *.t to be 00*.t to solve any sorting issues down the road as perzach%zachlipton.com3-0/+209
bug 97976. No review required for tests at this time. NOT_PART_OF_BUILD
2001-09-23*** empty log message ***zach%zachlipton.com3-209/+0
2001-09-17Fix to make the tests generate the list of files to test instead of having ↵zach%zachlipton.com4-57/+34
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.
2001-09-17Make this file test for exec calls in addition to system calls that arezach%zachlipton.com1-3/+3
one-argument and are therefore insecure. NOT_PART_OF_BUILD, no review needed.
2001-09-10Oops. Forgot to check this is.zach%zachlipton.com1-0/+12
2001-09-05Adding a test for safe system and exec calls. Part of this code by Dave.zach%zachlipton.com1-0/+57
2001-09-04Add a little 1; to the end of this.zach%zachlipton.com1-0/+2
2001-09-04Actually make the strict checking work.zach%zachlipton.com1-2/+8
2001-09-04add tests for use strict;zach%zachlipton.com1-1/+6
2001-09-04Enforce -w. This file will also be used to enforce use strict;zach%zachlipton.com1-0/+63
2001-09-04Rename 1.t to 1compile.t as per bug 97976.zach%zachlipton.com1-0/+0
2001-09-04Remove processmail from the list. It was causing problems with taint.zach%zachlipton.com2-9/+8
2001-09-04Ok, really this time. This should work :)zach%zachlipton.com1-61/+15
2001-09-04Backout of this to get things back to normalzach%zachlipton.com1-12/+58