aboutsummaryrefslogtreecommitdiffstats
path: root/t
Commit message (Collapse)AuthorAgeFilesLines
* Fix for bug 108982: enable taint mode for all user-facing CGI files.justdave%syndicomm.com2002-01-201-3/+30
| | | | | Patch by Brad Baetz <bbaetz@student.usyd.edu.au> r= jake, justdave
* Fix for bug 119060 - Use of Template.pm filters for url and html encoding. ↵dkl%redhat.com2002-01-191-2/+1
| | | | r=jake,dkl
* Additional fix for bug 112914: "Test should not `cat $file`" Previouszach%zachlipton.com2002-01-111-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.
* Bug 112914 - This test was relying on the existance of the unix "cat" ↵jake%acutex.net2002-01-051-8/+13
| | | | command instead of using perl's standard open() function. This caused a test failed when running the tinderbox script on win32.
* Get the file list of files to scan for templates from Support::Files instead ↵jake%acutex.net2001-12-011-1/+3
| | | | of glob('*')
* Fix the double testing of .pm files.zach%zachlipton.com2001-11-181-7/+3
| | | | No review needed for tests at this time.
* We don't really need to look for fragments that are pulled in by [% INCLUDE ↵jake%acutex.net2001-11-141-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.
* Have the tests test .pm files as well, yes this creates bustage, this iszach%zachlipton.com2001-10-311-1/+1
| | | | | | intentional! No review needed for tests at this time.
* A few enhancements to the template test:jake%acutex.net2001-10-271-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
* Check templates for tabs, also.jake%acutex.net2001-10-261-0/+5
|
* Don't rely on the TEST_VERBOSE environment variable (no longer exported from ↵jake%acutex.net2001-10-255-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.
* Bug 106424 - We weren't going orange on warnings such as "used only once". ↵jake%acutex.net2001-10-241-3/+9
| | | | This script now properly outputs the --WARNING and fails on such a condition.
* Bug 103664 - Tests should "use strict;" and not contain any tabs. We should ↵jake%acutex.net2001-10-208-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.
* yet another meaningless whitespace change to test tinderbox withjustdave%syndicomm.com2001-10-191-1/+1
|
* another useless whitespace change to test tinderbox withjustdave%syndicomm.com2001-10-191-1/+1
|
* whitespace change to test tinderbox again.justdave%syndicomm.com2001-10-191-1/+1
|
* whitespace change to do a test checkin to see how tinderbox reactsjustdave%syndicomm.com2001-10-191-1/+1
|
* Tabs are not allowed in Bugzilla source... if we find one, issue a warning.jake%acutex.net2001-10-131-0/+45
| | | | No review needed for tests at this time. NOT PART OF BUILD
* If a template doesn't exist, this should be considered a compile failure.jake%acutex.net2001-10-131-2/+2
| | | | No review needed for tests at this time. NOT PART OF BUILD
* It's also possible to PROCESS another attachment fragment, not just INCLUDE.jake%acutex.net2001-10-101-1/+1
| | | | No review needed for tests at this time. NOT PART OF BUILD.
* Allow compile tests for files that run in taint modejake%acutex.net2001-10-072-3/+10
| | | | No review needed for tests at this time. NOT PART OF BUILD
* We also need to look for templates that are INCLUDEd in other templates.jake%acutex.net2001-10-072-4/+22
| | | | No review needed for tests at this time. NOT PART OF BUILD
* Test that scans Bugzilla's code looking for used templates then checks to ↵jake%acutex.net2001-10-072-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
* Fixing issue where excluded files aren't excluded if they end in .pl orzach%zachlipton.com2001-10-061-4/+5
| | | | .cgi.
* Don't test importxml.pl since you need XML::Parser which is not required,zach%zachlipton.com2001-10-061-1/+1
| | | | | | creating a false fail. No review needed for tests. NOT PART OF BUILD
* Get rid of our which causes errors on 5.005.zach%zachlipton.com2001-10-061-1/+5
| | | | No review needed for tests at this time. NOT PART OF BUILD
* Renaming *.t to be 00*.t to solve any sorting issues down the road as perzach%zachlipton.com2001-09-233-0/+209
| | | | | | bug 97976. No review required for tests at this time. NOT_PART_OF_BUILD
* *** empty log message ***zach%zachlipton.com2001-09-233-209/+0
|
* Fix to make the tests generate the list of files to test instead of having ↵zach%zachlipton.com2001-09-174-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.
* Make this file test for exec calls in addition to system calls that arezach%zachlipton.com2001-09-171-3/+3
| | | | | | one-argument and are therefore insecure. NOT_PART_OF_BUILD, no review needed.
* Oops. Forgot to check this is.zach%zachlipton.com2001-09-101-0/+12
|
* Adding a test for safe system and exec calls. Part of this code by Dave.zach%zachlipton.com2001-09-051-0/+57
|
* Add a little 1; to the end of this.zach%zachlipton.com2001-09-041-0/+2
|
* Actually make the strict checking work.zach%zachlipton.com2001-09-041-2/+8
|
* add tests for use strict;zach%zachlipton.com2001-09-041-1/+6
|
* Enforce -w. This file will also be used to enforce use strict;zach%zachlipton.com2001-09-041-0/+63
|
* Rename 1.t to 1compile.t as per bug 97976.zach%zachlipton.com2001-09-041-0/+0
|
* Remove processmail from the list. It was causing problems with taint.zach%zachlipton.com2001-09-042-9/+8
|
* Ok, really this time. This should work :)zach%zachlipton.com2001-09-041-61/+15
|
* Backout of this to get things back to normalzach%zachlipton.com2001-09-041-12/+58
|
* Use Support::Files for the test items. zach%zachlipton.com2001-09-041-58/+12
| | | | No review needed at this time for tests as per Dave.
* Addition of Files.pm which will be used shortly by 1.t (soon to be ↵zach%zachlipton.com2001-09-041-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.
* Fix for bug 98024: t/1.t should use $^X instead of hard-coded path to perl.zach%zachlipton.com2001-09-041-1/+1
| | | | Patch by ddkilzer@theracingworld.com (David D. Kilzer, ddk). Review by Zach Lipton (zach@zachlipton.com) no 2nd review required.
* Added a --verbose option to runtests.sh that the tinderbox scripts can use ↵justdave%syndicomm.com2001-09-011-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.
* Adding runtests.sh and 1.t to start the testing suite. No bug has beenzach%zachlipton.com2001-09-011-0/+116
filed on this issue. NOT_PART_OF_BUILD.