summaryrefslogtreecommitdiffstats
path: root/t
AgeCommit message (Collapse)AuthorFilesLines
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
2001-09-04Use Support::Files for the test items. zach%zachlipton.com1-58/+12
No review needed at this time for tests as per Dave.
2001-09-04Addition of Files.pm which will be used shortly by 1.t (soon to be ↵zach%zachlipton.com1-0/+89
1compile.t) which contains the list of files to test. This is important so that we can bring it into other tests which check files for content, etc... No review required for tests as of now as per Dave.
2001-09-04Fix for bug 98024: t/1.t should use $^X instead of hard-coded path to perl.zach%zachlipton.com1-1/+1
Patch by ddkilzer@theracingworld.com (David D. Kilzer, ddk). Review by Zach Lipton (zach@zachlipton.com) no 2nd review required.
2001-09-01Added a --verbose option to runtests.sh that the tinderbox scripts can use ↵justdave%syndicomm.com1-6/+12
to get all the warnings and errors and whatnot into the build log. Also corrected several syntax and logic errors in the 1.t test file.
2001-09-01Adding runtests.sh and 1.t to start the testing suite. No bug has beenzach%zachlipton.com1-0/+116
filed on this issue. NOT_PART_OF_BUILD.