summaryrefslogtreecommitdiff
path: root/t
Commit message (Collapse)AuthorAgeFilesLines
* [perl #38809] return do { } : take 3 (or 4...)Vincent Pit2008-11-251-1/+18
| | | | | Message-ID: <48E0F5E9.4050805@profvince.com> p4raw-id: //depot/perl@34907
* [perl #7911] no warning for useless /d in tr/0-9//dreneeb2008-11-251-3/+9
| | | | | | From: "reneeb via RT" <perlbug-followup@perl.org> Message-ID: <rt-3.6.HEAD-10965-1226931231-1833.7911-15-0@perl.org> p4raw-id: //depot/perl@34905
* Remove the trailing NUL byte, and (hopefully) convert perforce toNicholas Clark2008-11-181-0/+0
| | | | | thinking that it is text, not binary. p4raw-id: //depot/perl@34883
* Improve and restructure t/op/pat.t and split out some unicode related tests ↵Abigail2008-11-183-4169/+3832
| | | | | | | | | | | into a new test file Subject: t/op/pat.t Message-ID: <20081118082905.GJ3172@almanda> With tweaks: Seems the new harness is quite picky about # signs in test names, and doesnt like SKIP and TODO to be used together. p4raw-id: //depot/perl@34882
* Rafael noticed a bug in 34873 - I was comparing against the wrongNicholas Clark2008-11-181-2/+11
| | | | | | variable, and hence (usually) saving all globs, not just those that should be kept. p4raw-id: //depot/perl@34879
* S_save_lines() was using strchr() when it should have been usingNicholas Clark2008-11-171-5/+10
| | | | | | | | memchr(). Result - eval""ed source with embedded NULs was not split correctly into lines for the debugger. Obscure. But still a bug. Maybe the Campaign for the Elimination of strlen() needs to take a long hard stare at every strchr() too. And strmp() while we're looking. p4raw-id: //depot/perl@34876
* Fix the bug introduced with MRO, whereby the internals were not savingNicholas Clark2008-11-171-0/+43
| | | | | lines in subroutines defined inside eval ""s for the debugger. p4raw-id: //depot/perl@34873
* Re: [perl #59998] [PATCH] crypt() returns tainted data even when input ↵Chip Salzenberg2008-11-171-1/+16
| | | | | | | strings are detainted Message-ID: <20081117071429.GD5495@tytlal.topaz.cx> p4raw-id: //depot/perl@34860
* MRO tests for isa() and package aliasesTorsten Schoenfeld2008-11-161-0/+33
| | | | | Message-ID: <491F3008.4060205@gmx.de> p4raw-id: //depot/perl@34839
* [perl #948] [PATCH] Allow tied $,Chip Salzenberg2008-11-141-5/+3
| | | | | Message-ID: <20081114084436.GJ5779@tytlal.topaz.cx> p4raw-id: //depot/perl@34831
* [patch@34779] Get posix exit mode working/tested on VMSJohn E. Malmberg2008-11-101-4/+28
| | | | | | From: "John E. Malmberg" <wb8tyw@qsl.net> Message-id: <4916872B.5040500@qsl.net> p4raw-id: //depot/perl@34790
* Add support for testing when underYves Orton2008-11-092-11/+47
| | | | | | | | | #define PERL_LEGACY_UNICODE_CHARCLASS_MAPPINGS = 0 as signalled by the environment variable REAL_POSIX_CC being true. Otherwise test are as they used to be, or TODO'ed. p4raw-id: //depot/perl@34785
* Fix warning code in Perl_sv_vcatpvfn() to make the TODOMarcus Holland-Moritz2008-11-092-4/+31
| | | | | | tests introduced with #34781 pass. Add some more warning tests to t/lib/warnings/sv. p4raw-id: //depot/perl@34783
* Update format warning tests to expect "%lld" instead of "%d"Marcus Holland-Moritz2008-11-091-9/+12
| | | | | | when "%lld" was in the format string. Mark these warnings as TODO until this is fixed. p4raw-id: //depot/perl@34781
* "Perl_newSVpvf("%lld")" is brokenHugo van der Sanden2008-11-091-1/+27
| | | | | | | Message-Id: <200811081329.mA8DTv7e018896@zen.crypt.org> Plus some test cases. p4raw-id: //depot/perl@34780
* create new unicode props as defined in POSIX spec (optionally use them in ↵Yves Orton2008-11-072-0/+130
| | | | | | | | | | | | | | | | | | | | the regex engine) Perlbug #60156 and #49302 (and probably others) resolve down to the problem that the definition of \s and \w and \d and the POSIX charclasses are different for unicode strings and for non-unicode strings. This broke the character class logic in the regex engine. The easiest fix to make the character class logic sane again is to define new properties which do match. This change creates new property classes that can be used instead of the traditional ones (it does not change the previously defined ones). If the define in regcomp.h: #define PERL_LEGACY_UNICODE_CHARCLASS_MAPPINGS 1 is changed to 0, then the new mappings will be used. This will fix a bunch of bugs that are reported as TODO items in the new reg_posixcc.t test file. p4raw-id: //depot/perl@34769
* Various changes to regex diagnostics and testingYves Orton2008-11-062-10/+15
| | | | | | | | | | | * Make ANYOF output from regprop easier to read by adding ][ in between the unicode representation and the "ascii" one * Make it possible to make tests in re_tests todo. * add a todo test for a complementary character class match that should fail (perl #60156) * Also add a comment explaining a previous commit (relating to perl #60344) p4raw-id: //depot/perl@34755
* Reolve perlbug #59328: In re's, \N{U+...} doesn't match for ... > 256karl williamson2008-11-061-0/+1
| | | | | | | Subject: PATCH [perl #59328] In re's, \N{U+...} doesn't match for ... > 256 Message-ID: <49124B78.2000907@khwilliamson.com> Date: Wed, 05 Nov 2008 18:42:16 -0700 p4raw-id: //depot/perl@34747
* Resolve perl #60344: Regex lookbehind failure after an (if)then|else in perl ↵Yves Orton2008-11-061-0/+2
| | | | | | | | | | 5.10 During the de-recursivization it looks like Dave M forgot to reset the 'logical' flag after using it, which in turn causes UNLESSM/IFTHEN when used after a LOGICAL operator to be incorrectly intrepreted. This change resets the logical flag after each time it is stored in ST.logical. p4raw-id: //depot/perl@34746
* [perl #56526] m/a{1,0}/ compiles but doesn't match a literal string Michael Cartmell2008-11-021-0/+1
| | | | | | From: Michael Cartmell (via RT) <perlbug-followup@perl.org> Message-ID: <rt-3.6.HEAD-27577-1215001078-1211.56526-75-0@perl.org> p4raw-id: //depot/perl@34697
* Add a test for bug #60214Rafael Garcia-Suarez2008-10-301-1/+10
| | | p4raw-id: //depot/perl@34661
* Haiku PortIngo Weinhold2008-10-291-1/+1
| | | | | Message-Id: <20081029022544.413.1@knochen-vm.localdomain> p4raw-id: //depot/perl@34630
* Integrate:Vincent Pit2008-10-251-1/+15
| | | | | | | | | | | | [ 34580] Subject: Re: [perl #60034] (?>) causes wrongness on long string Message-ID: <48FFABE4.2030507@profvince.com> [just the changes, as TODOs] p4raw-link: @34580 on //depot/maint-5.8/perl: 7e8969c0412490151f26944243e2767cf32aca95 p4raw-id: //depot/perl@34581 p4raw-integrated: from //depot/maint-5.8/perl@34579 'edit in' t/op/pat.t (@34396..)
* Test::Simple 0.81_02 has:Nicholas Clark2008-10-213-0/+4
| | | | | | | | | | | Features Changed - Now preserves the tests' exit code if it exits abnormally, rather than setting it to 255. $! is non-zero with PERLIO=stdio in some cases, so die would have set the exit code to $! (typically 9). Now that would show through, so ensure $! *is* zero to make sure that the exit code is 255. p4raw-id: //depot/perl@34545
* Upgrade to ExtUtils-MakeMaker-6.48Nicholas Clark2008-10-201-0/+35
| | | p4raw-id: //depot/perl@34541
* 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
* Upgrade to ExtUtils-MakeMaker-6.47_02Nicholas Clark2008-10-171-22/+20
| | | p4raw-id: //depot/perl@34498
* One final tweak for the Test-Simple-0.82 upgrade. Ugh.Steve Peters2008-10-151-6/+0
| | | p4raw-id: //depot/perl@34490
* *sigh* More files messed with for Test-Simple-0.82.Steve Peters2008-10-153-3/+11
| | | p4raw-id: //depot/perl@34488
* Some additional files changes for Test-Simple-0.82Steve Peters2008-10-1515-3/+18
| | | p4raw-id: //depot/perl@34484
* Upgrade to ExtUtils-MakeMaker-6.47_01Nicholas Clark2008-10-152-2/+92
| | | p4raw-id: //depot/perl@34482
* Change of email address.Abigail2008-10-071-1/+1
| | | | | Message-ID: <20081007195655.GA22986@almanda> p4raw-id: //depot/perl@34471
* 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
* Change 30638 to 5.8.x inadvertently introduced (at lest) twoNicholas Clark2008-09-221-0/+6
| | | | | | | regressions into the regexp engine. Add tests for the constructions that regressed, to prevent any future change falling foul of the same problem. p4raw-id: //depot/perl@34400
* Need to free the isa lookup hash before rebuilding it.Nicholas Clark2008-09-121-1/+12
| | | p4raw-id: //depot/perl@34355
* 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
* Re: 'if not / unless' optimization change makes my pow test go POW!Vincent Pit2008-09-081-3/+14
| | | | | | Message-ID: <48C586BA.4050603@profvince.com> Date: Mon, 08 Sep 2008 22:10:34 +0200 p4raw-id: //depot/perl@34322
* Re-instate all the warnings checks that don't work on Win32, but withNicholas Clark2008-09-081-4/+56
| | | | | a SKIP that triggers on Win32. (So that they get tested elsewhere) p4raw-id: //depot/perl@34319
* 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
* Make sure temp file has an extension on VMS to work with the newCraig A. Berry2008-09-081-1/+2
| | | | | temp file name generator in t/test.pl p4raw-id: //depot/perl@34315
* $ENV{TEST_JOBS} vs $ENV{HARNESS_OPTIONS}Bram2008-09-071-2/+21
| | | | | Message-ID: <20080812205047.05lrnmbqlccs08g8@horde.wizbit.be> p4raw-id: //depot/perl@34314
* Re: unless(...) terser than if(!...)Vincent Pit2008-09-072-2/+24
| | | | | Message-ID: <48B86060.4090905@profvince.com> p4raw-id: //depot/perl@34310
* Split all the tests for ops that can return undef for defined argsNicholas Clark2008-09-071-77/+331
| | | | | into separate tests to diagnose the cause of daily build smoke. p4raw-id: //depot/perl@34308
* Fix #30660: Repeated spaces on shebang line stops option parsingNicholas Clark2008-08-281-1/+17
| | | | | | From a patch and test sent by Renée Bäcker in <48B271A3.80808@smart-websolutions.de> p4raw-id: //depot/perl@34234
* Khaaaaan! Change 34230 wasn't right. The tests all passed because INicholas Clark2008-08-261-0/+6
| | | | | | had a(nother) copy of Dev::Null in the "right" place. So make that right place official. p4raw-id: //depot/perl@34231
* Move all of Test::Harness's test modules into ext/Test/Harness/t/libNicholas Clark2008-08-2614-418/+0
| | | p4raw-id: //depot/perl@34229
* Fix new test added by #34198, which failed on Win32Steve Hay2008-08-261-1/+1
| | | p4raw-id: //depot/perl@34228
* Move t/lib/{data,sample-tests,source_tests,subclass_tests} intoNicholas Clark2008-08-2665-599/+0
| | | | | | ext/Test/Harness/t/{data,sample-tests,source_tests,subclass_tests} (The same path as in the Test-Harness distribution.) p4raw-id: //depot/perl@34227
* Unintented interpolation of $/ in regex (was: Re: [perlBram2008-08-241-0/+15
| | | | | | | | | | Message-ID: <20080724181427.aiml4sdvr40k4coc@horde.wizbit.be> Note that the Subject: has a typo - it should be $\ This adds a new warning. I moved the tests from the original patch to t/lib/warnings/toke. p4raw-id: //depot/perl@34224
* Re: Change 34184: Convert all unimaginative (ie race condition) temporary ↵Bram2008-08-191-1/+1
| | | | | | | | | | file names to Message-ID: <20080812190500.3ns5yf7ibocgo0w0@horde.wizbit.be> (Change 34184 missed one Comp.try in the MSWin32 case, which caused this test to fail on Win32) p4raw-id: //depot/perl@34205