summaryrefslogtreecommitdiff
path: root/t/test.pl
Commit message (Collapse)AuthorAgeFilesLines
* Change "use $foo; 1" in evals to "require $foo; 1" to avoid breakingNicholas Clark2008-10-201-6/+6
| | | | | even more tests if use is borked, but not require. p4raw-id: //depot/perl@34528
* Loading modules in test.plJerry D. Hedden2008-09-271-7/+4
| | | | | | From: "Jerry D. Hedden" <jdhedden@cpan.org> Message-ID: <1ff86f510809230640y2d5a072g6abff6604f9daa79@mail.gmail.com> p4raw-id: //depot/perl@34434
* Watchdog re-queueJerry D. Hedden2008-09-101-5/+3
| | | | | | | From: "Jerry D. Hedden" <jdhedden@cpan.org> Message-ID: <1ff86f510809090654v2de48f1r37499d573f452cdb@mail.gmail.com> Date: Tue, 9 Sep 2008 09:54:41 -0400 p4raw-id: //depot/perl@34337
* Make sure the watchdog requeues itself when sleep() wakes up earlyCraig A. Berry2008-09-081-4/+12
| | | | | | | (such as when an alarm fires). Also, bail out with SIGTERM rather than SIGKILL on VMS since the latter kills the shell from which Perl was started. p4raw-id: //depot/perl@34316
* Fix bug in counting in tempfile().Nicholas Clark2008-08-071-7/+12
| | | | | | | | Also we need to note file names we give out, as some callers don't create them before calling us a second time. Add a regexp that matches the tempfile() names, for tests that want to munge output. p4raw-id: //depot/perl@34179
* A proper tempfile function that can be used multiple times.Nicholas Clark2008-08-071-2/+9
| | | p4raw-id: //depot/perl@34178
* Better temporary file name generation. (Avoid using ++, avoid fileNicholas Clark2008-08-061-5/+20
| | | | | | names clashing between different scripts, which may now be executing in parallel) p4raw-id: //depot/perl@34173
* watchdog() fix for MSWin32Jerry D. Hedden2008-07-231-0/+1
| | | | | | | | From: "Jerry D. Hedden" <jdhedden@cpan.org> Message-ID: <1ff86f510807230919p355ea37ci3fde2c1f84df6d5f@mail.gmail.com> Adds a needed diag message to the watchdog() function for MSWin32. p4raw-id: //depot/perl@34154
* Fix skips in test.plJerry D. Hedden2008-07-221-3/+3
| | | | | | | | From: "Jerry D. Hedden" <jdhedden@cpan.org> Message-ID: <1ff86f510807180609l7ca8a8d8i653dfd687ed9f36d@mail.gmail.com> Changes skip messages to be consistent with Test::Builder. p4raw-id: //depot/perl@34152
* test.plJerry D. Hedden2008-07-161-4/+4
| | | | | | | | | From: "Jerry D. Hedden" <jdhedden@cpan.org> Message-ID: <1ff86f510807110807hb3e3727la161367a63da607f@mail.gmail.com> Jerry found that localizing $? doesn't shield the effects of wait() unless you actually assign something to $? p4raw-id: //depot/perl@34147
* test.pl fixJerry D. Hedden2008-07-081-56/+81
| | | | | | From: "Jerry D. Hedden" <jdhedden@cpan.org> Message-ID: <1ff86f510807071029q5931f03ud506f06b7d1f72af@mail.gmail.com> p4raw-id: //depot/perl@34109
* Avoid using -> function call notation within test.pl, which is supposedNicholas Clark2008-07-011-3/+1
| | | | | | to keep to simple constructions to facilitate accurately testing the core interpreter, which might be buggy. p4raw-id: //depot/perl@34097
* common test code for timed bailJerry D. Hedden2008-06-281-0/+102
| | | | | | From: "Jerry D. Hedden" <jdhedden@cpan.org> Message-ID: <1ff86f510806281218i65d32061w27a4431b9b357107@mail.gmail.com> p4raw-id: //depot/perl@34091
* shield t/test.pl functions from global print modifiersMichael G. Schwern2008-01-021-17/+28
| | | | | Message-ID: <477AF314.9050808@pobox.com> p4raw-id: //depot/perl@32801
* Must have /bin under CygwinJerry D. Hedden2007-12-111-0/+2
| | | | | | From: "Jerry D. Hedden" <jdhedden@cpan.org> Message-ID: <1ff86f510712111035u7f8da6e8h1a1cbd9d85d27c03@mail.gmail.com> p4raw-id: //depot/perl@32611
* Re: Smoke [5.10.0] 31938 FAIL(F) netbsd 3.1 (i386/1 cpu)Abe Timmerman2007-09-251-1/+1
| | | | | Message-ID: <46F59EFE.7050303@ztreet.demon.nl> p4raw-id: //depot/perl@31962
* Give accurate failure diagnostics when unlike() fails.Nicholas Clark2007-04-061-1/+2
| | | p4raw-id: //depot/perl@30855
* test.pl should locally increase $Level, rather than setting it to aNicholas Clark2007-02-181-1/+1
| | | | | | hard value, so that callers of like and unlike can present diagnostics with the line number of their own caller. p4raw-id: //depot/perl@30344
* It's all relative -- better handling of tainted directoriesCraig A. Berry2006-06-021-1/+2
| | | | | in PATH on VMS (and scrubbing them in t/test.pl). p4raw-id: //depot/perl@28348
* Change 28037 broke t/op/each.t when running with TEST.Nicholas Clark2006-05-021-0/+2
| | | p4raw-id: //depot/perl@28059
* Re: [PATCH] provide diag() and don't use ++ in test.plDavid Landgren2006-05-011-5/+23
| | | | | | | | Message-ID: <4456120B.3000302@landgren.net> Plus some additional comment (also from David) about WHY not to use ++ in test.pl p4raw-id: //depot/perl@28037
* Avoid "uninitialized value" warnings during 'make test'.Gisle Aas2006-03-201-1/+1
| | | | | | My system is set up with a few PATH entries I'm not allowed to access, so stat() fails for these. p4raw-id: //depot/perl@27551
* Also strip $ENV{PATH} dirs writable by world.Gisle Aas2006-03-201-1/+1
| | | | | The stripping was introduced in change 27364 to improve taint handling. p4raw-id: //depot/perl@27550
* Taint handling for runperl:H.Merijn Brand2006-03-021-16/+21
| | | | | | - better taint detection (switch -T in command) - $ENV{PATH} stripping of writeable directories on unix/linux p4raw-id: //depot/perl@27364
* Move all the de-tainting logic for runperl into test.pl.Nicholas Clark2006-02-271-7/+27
| | | p4raw-id: //depot/perl@27345
* Assume that if runperl is called under tainting, that the caller reallyNicholas Clark2006-02-181-0/+9
| | | | | really wanted to run perl, so brute force untaint everything. p4raw-id: //depot/perl@27220
* like and unlike weren't reporting failure where correctly in test.plNicholas Clark2005-12-231-0/+1
| | | p4raw-id: //depot/perl@26469
* TODO-SKIP tests must be "not ok", or else the test harness will thinkYves Orton2005-12-191-1/+1
| | | | | | | | it's an unexpected success Subject: Re: Change 26165 broke ext/threads/t/stress_re.t test on Win32 (and patch to t/test.pl and/or Test::Harness) Message-ID: <9b18b3110512170823q1bb2cd27h838b4d4dcdba72c9@mail.gmail.com> p4raw-id: //depot/perl@26398
* Upgrade to IO 1.22 from gbarrRafael Garcia-Suarez2005-09-061-0/+62
| | | | | | | | - Adjust the regression tests to use t/test.pl from bleadperl when $ENV{PERL_CORE} is defined - Add can_ok and isa_ok to t/test.pl from the implementation found in the IO CPAN distribution p4raw-id: //depot/perl@25355
* Re: [perl #36622] y/// at end of fileMichael G. Schwern2005-08-011-1/+1
| | | | | Message-ID: <20050722185115.GB28829@windhund.schwern.org> p4raw-id: //depot/perl@25252
* Introduce PERL_RUNPERL_DEBUG to alter the behavior of runperl(),Rafael Garcia-Suarez2005-06-151-0/+4
| | | | | this can be useful to use valgrind for example p4raw-id: //depot/perl@24856
* &_q needs to *globally* escape ' and \ in its substitution.Nicholas Clark2005-01-271-2/+2
| | | p4raw-id: //depot/perl@23883
* [PATCH] cleanup t/op/taint.tMichael G. Schwern2004-12-101-0/+12
| | | | | | | | | | | Date: Fri, 10 Dec 2004 02:04:49 -0500 Message-ID: <20041210070448.GA22347@windhund.schwern.org> Subject: [PATCH] Add todo_skip() to test.pl From: Michael G Schwern <schwern@pobox.com> Date: Fri, 10 Dec 2004 04:27:06 -0500 Message-ID: <20041210092706.GA23378@windhund.schwern.org> p4raw-id: //depot/perl@23635
* sanity check the arguments to runperl(), to try to avoid itNicholas Clark2004-12-061-0/+8
| | | | | hanging waiting on STDIN for a script. p4raw-id: //depot/perl@23615
* made eq_array in t/test.pl handle undef values betterDave Mitchell2004-08-091-0/+3
| | | p4raw-id: //depot/perl@23208
* no_plan support in test.plNicholas Clark2004-07-131-3/+13
| | | p4raw-id: //depot/perl@23090
* Re: tests for change #22539Jim Cromie2004-04-061-14/+11
| | | | | | Message-ID: <4069E913.5040906@divsol.com> (with some spelling tweaks) p4raw-id: //depot/perl@22664
* [patch t/test.pl] comment fixStas Bekman2003-12-231-2/+2
| | | | | | Message-ID: <3FE8C65A.4060708@stason.org> Date: Tue, 23 Dec 2003 14:48:58 -0800 p4raw-id: //depot/perl@21952
* Faulty check.Jarkko Hietaniemi2003-08-011-3/+4
| | | p4raw-id: //depot/perl@20422
* Argument sanity checking.Jarkko Hietaniemi2003-08-011-0/+6
| | | p4raw-id: //depot/perl@20416
* fresh_perl_(is|like) were printing out the wrong file/lineJarkko Hietaniemi2003-07-271-1/+4
| | | | | | | | number on failure because _where() was hard coded to only look one level up the call stack. In these cases it has to look two. (Schwern) p4raw-id: //depot/perl@20240
* Minor test adjustments :Rafael Garcia-Suarez2003-07-021-8/+8
| | | | | | | - test name correction in op/concat.t by Yitzchak Scott-Thoennes - prototypes added to some public functions in t/test.pl, as suggested by Enache Adrian p4raw-id: //depot/perl@19941
* Try to handle a $^X with spaces in it.Jarkko Hietaniemi2003-05-111-1/+1
| | | p4raw-id: //depot/perl@19490
* Separate the creation of the command to run byJarkko Hietaniemi2003-05-111-1/+6
| | | | | runperl() into its own function, _create_runperl(). p4raw-id: //depot/perl@19489
* Re: [PATCH t/test.pl] Let is/isnt() handle undef without warningsMichael G. Schwern2002-09-081-2/+20
| | | | | Message-ID: <20020906210315.GC808@ool-18b93024.dyn.optonline.net> p4raw-id: //depot/perl@17861
* t/test.pl, which_perl, VMSCraig A. Berry2002-05-311-0/+3
| | | | | | From: "Craig A. Berry" <craigberry@mac.com> Message-Id: <a0511170ab91c997b6866@[172.16.52.1]> p4raw-id: //depot/perl@16917
* Test::Harness and skiping tests functionalityNikola Knezevic2002-05-281-1/+1
| | | | | Message-ID: <40949173.20020528081753@tesla.rcub.bg.ac.yu> p4raw-id: //depot/perl@16829
* Integrate #16254 from macperl;Jarkko Hietaniemi2002-04-281-4/+17
| | | | | Fix most tests on MacOS (not yet ext/ or /lib) p4raw-id: //depot/perl@16257
* t/test.pl additional functionality for runperlAbigail2002-04-151-9/+15
| | | | | Message-ID: <20020415154002.1549.qmail@foad.org> p4raw-id: //depot/perl@15935
* I was fooled for a while, somebody else might be too.Jarkko Hietaniemi2002-04-041-0/+1
| | | p4raw-id: //depot/perl@15736