summaryrefslogtreecommitdiff
path: root/t
Commit message (Collapse)AuthorAgeFilesLines
* doop.c: (Coverity) found a bug but not quite what Coverity thought it did ↵Jarkko Hietaniemi2006-04-141-1/+73
| | | | | | | (try valgrind on the new bop.t without the doop.c patch) Message-Id: <20060413162046.5F9636D08C@ugli.hut.fi> p4raw-id: //depot/perl@27801
* IO::Compress::*Paul Marquess2006-04-141-39/+53
| | | | | Message-ID: <004f01c65f9a$3871eb30$2405140a@myopwv.com> p4raw-id: //depot/perl@27799
* disable 'split /(?{ split "" })/' test until recursive split is fixedDave Mitchell2006-04-131-1/+4
| | | p4raw-id: //depot/perl@27793
* [perl #38906] Regex engine does not release MINMODAnimator2006-04-121-0/+2
| | | | | | | | | From: "Animator via RT" <perlbug-followup@perl.org> Message-ID: <rt-3.0.11-38906-132222.3.24032491323436@perl.org> zero-length minimum matches that failed could leak into a following maximal match p4raw-id: //depot/perl@27782
* Add tests for all the other types that %^H serialisation is supposedNicholas Clark2006-04-121-1/+36
| | | | | | to support. In the process, found and corrected a bug. Tests are good, m'kay. p4raw-id: //depot/perl@27780
* Test that we can do embedded 0 bytes in hints.Nicholas Clark2006-04-121-1/+8
| | | p4raw-id: //depot/perl@27777
* pp_sys.c: some Coverity findings: NULL guards for format cvJarkko Hietaniemi2006-04-101-1/+1
| | | | | | Message-Id: <20060408155541.46B796D08C@ugli.hut.fi> Date: Sat, 8 Apr 2006 18:55:41 +0300 (EEST) p4raw-id: //depot/perl@27756
* sv.c, rs.t, perlvar.pod (Coverity finding: did you know what happens with ↵Jarkko Hietaniemi2006-04-081-8/+13
| | | | | | | | | | $/=\0?) Message-Id: <20060408152533.C4D5F6D08C@ugli.hut.fi> (although I should add that this version of Coverity is actually raising a false positive here, albeit something still interesting) p4raw-id: //depot/perl@27744
* Assigning undef to an entry in %ENV shouldn't produce warnings, evenRafael Garcia-Suarez2006-04-051-0/+5
| | | | | though it's silently converted to "" p4raw-id: //depot/perl@27725
* Re: [perl #38293] chr(65535) should be allowed in regexesSADAHIRO Tomoyuki2006-04-022-2/+120
| | | | | Message-Id: <20060402224657.B942.BQW10602@nifty.com> p4raw-id: //depot/perl@27688
* Better failure diagnostics from switch.t.Nicholas Clark2006-04-021-128/+154
| | | p4raw-id: //depot/perl@27681
* Test no mypragma;Nicholas Clark2006-04-011-1/+12
| | | p4raw-id: //depot/perl@27667
* Automatically set HINT_LOCALIZE_HH whenever %^H is modified.Nicholas Clark2006-04-011-1/+0
| | | p4raw-id: //depot/perl@27666
* Test that user pragmas work inside string eval.Nicholas Clark2006-04-011-1/+8
| | | p4raw-id: //depot/perl@27664
* Add Rafael's example user pragma, and convert his demo to a test.Nicholas Clark2006-04-012-0/+74
| | | p4raw-id: //depot/perl@27663
* If the comment says "(and not ours)" then it should be tested.Nicholas Clark2006-04-011-1/+2
| | | p4raw-id: //depot/perl@27662
* Rewrite t/op/getppid.t to remove the assumption that init has PID of 1.Nicholas Clark2006-04-011-27/+44
| | | p4raw-id: //depot/perl@27660
* Propagate cop_hints inside string evals. For the unthreaded case thisNicholas Clark2006-04-011-1/+25
| | | | | | | is easy. For the threaded case it's not, because the current OP may be shared with another thread, so solve this by copying the hints chain. p4raw-id: //depot/perl@27659
* Re: recursion now removed from the regex engineDominic Dunlop2006-03-311-2/+7
| | | | | Message-Id: <C4D69F9F-FB90-4564-8C46-E51765EB0440@mac.com> p4raw-id: //depot/perl@27656
* Test that entries in %^H are actually independant.Nicholas Clark2006-03-311-5/+23
| | | p4raw-id: //depot/perl@27646
* Serialise changes to %^H onto the current COP. Return the compile timeNicholas Clark2006-03-311-3/+70
| | | | | | state of %^H as an eleventh value from caller. This allows users to write pragmas. p4raw-id: //depot/perl@27643
* Localising hash slices with UTF-8 encoded keys was also buggy.Nicholas Clark2006-03-301-1/+24
| | | | | (See also change 27637) p4raw-id: //depot/perl@27638
* Fix bug #38815 (localising keys which are UTF-8 encoded didn't deleteNicholas Clark2006-03-301-1/+25
| | | | | them correctly on scope exit) p4raw-id: //depot/perl@27637
* Fix bug 36267 - assigning to a tied hash shouldn't change theNicholas Clark2006-03-301-0/+19
| | | | | | | | underlying hash. (It used to, if the underlying hash had had storage allocated). This has the side effect of changing the return value from hv_store and hv_store_ent for some tied hash scenarios. But *to* something consistent (ly crazy) p4raw-id: //depot/perl@27636
* PATCH t/op/tie.tRobin Barker2006-03-301-0/+8
| | | | | Message-ID: <533D273D4014D411AB1D00062938C4D90849C9CA@hotel.npl.ad.local> p4raw-id: //depot/perl@27633
* It helps to actually add the files you add to MANIFEST. (Thanks DaveNicholas Clark2006-03-271-0/+38
| | | | | for spotting my mistake). p4raw-id: //depot/perl@27616
* 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
* Re: [perl #38710] localised stash sliceRick Delaney2006-03-201-2/+0
| | | | | | | Message-ID: <20060319005211.GM25733@localhost.localdomain> One can now localize slices. p4raw-id: //depot/perl@27547
* Add a couple of regression tests for the untestedRafael Garcia-Suarez2006-03-161-1/+7
| | | | | "Bad name after %s" parsing error p4raw-id: //depot/perl@27517
* Compress::Raw::Zlib, Compress::Zlib, IO::Compress::Zlib 2.000_10Paul Marquess2006-03-162-5/+5
| | | | | | From: "Paul Marquess" <paul.marquess@ntlworld.com> Message-ID: <009401c64907$5a6ed710$4c05140a@myopwv.com> p4raw-id: //depot/perl@27516
* require should ignore directories found when searching @INC not justGisle Aas2006-03-161-1/+1
| | | | | | | | | die as soon as it finds one. It should for instance be possible to for require "File" to read the file "./File" even if there happens to be a "File" directory in perl's standard library. This fixes the RT #24404 fix in change 26373. p4raw-id: //depot/perl@27515
* Make usage of :unique emit a deprecation warning.Rafael Garcia-Suarez2006-03-141-0/+7
| | | | | Remove its outdated documentation. p4raw-id: //depot/perl@27498
* [perl #38710] localised stash slice Hugo van der Sanden2006-03-141-1/+29
| | | | | | | | From: Hugo van der Sanden (via RT) <perlbug-followup@perl.org> Message-ID: <rt-3.0.11-38710-131000.18.015529928953@perl.org> (new TODO tests) p4raw-id: //depot/perl@27495
* Sort the ext/ and lib/ tests when running under t/harnessSteve Hay2006-03-081-1/+5
| | | | | | | | | | | | Unless they are sorted then they are run in the same order in which they are listed in MANIFEST, which is not always ideal. In particular, the ext/Compress/IO/Zlib/t/*.t tests are not run in the correct order, which causes some files to be left behind afterwards. ExtUtils::Command::MM::test_harness() sorts test files, so it seems sensible for t/harness to do likewise, rather than relying on the ordering in MANIFEST. p4raw-id: //depot/perl@27420
* $[ = 2 should not warn.Rafael Garcia-Suarez2006-03-071-0/+1
| | | p4raw-id: //depot/perl@27402
* Add and remove files forgotten in change #27384Rafael Garcia-Suarez2006-03-061-564/+0
| | | | | p4raw-link: @27384 on //depot/perl: 25f0751fb55a0f87a7e18ae8960f9acf2407ae32 p4raw-id: //depot/perl@27387
* Compress::ZlibPaul Marquess2006-03-0613-162/+692
| | | | | | From: "Paul Marquess" <paul.marquess@ntlworld.com> Message-ID: <007101c63eac$d919c6c0$4c05140a@myopwv.com> p4raw-id: //depot/perl@27384
* Re: [perl #38657] -d:Foo=bar broke in 5.8.8Jarkko Hietaniemi2006-03-032-3/+14
| | | | | Message-ID: <440737A6.4060606@gmail.com> p4raw-id: //depot/perl@27368
* 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
* Upgrade to assertions-0.03Steve Peters2006-03-012-90/+101
| | | p4raw-id: //depot/perl@27356
* Move all the de-tainting logic for runperl into test.pl.Nicholas Clark2006-02-272-10/+27
| | | p4raw-id: //depot/perl@27345
* Fix op/utftaint.t on Win32 following change #27248Steve Hay2006-02-271-1/+3
| | | | | | | (Don't remove PATH completely because it'll break on Unix if you have . in the PATH) p4raw-link: @27248 on //depot/perl: 5316d14db4aade2e88cbb15cc065195245c0ec51 p4raw-id: //depot/perl@27341
* Testing hash key stringificationAnno Siegel2006-02-271-1/+18
| | | | | Message-Id: <4871E87D-4B59-40A3-A091-A7A3CFA221CF@mailbox.tu-berlin.de> p4raw-id: //depot/perl@27335
* Re: [perl #38619] Bug in lc and uc (interaction between UTF-8, substr, and ↵SADAHIRO Tomoyuki2006-02-251-1/+37
| | | | | | | lc/uc) Message-Id: <20060225180934.FCC3.BQW10602@nifty.com> p4raw-id: //depot/perl@27329
* Skip unportable test on VMSRafael Garcia-Suarez2006-02-241-3/+6
| | | p4raw-id: //depot/perl@27309
* Add test for RT #2166: foreach spuriously autovivifiesSteve Peters2006-02-231-1/+13
| | | p4raw-id: //depot/perl@27287
* Converted t/op/pos.t to use test.pl and added TODO test for Steve Peters2006-02-231-9/+19
| | | | | RT #1716 - search position reset after 'local' save/restore p4raw-id: //depot/perl@27286
* Fix typos and a missing bracket.Nicholas Clark2006-02-221-2/+2
| | | p4raw-id: //depot/perl@27274
* Avoid C<study>ing any strings that might change underneath us, suchNicholas Clark2006-02-221-9/+3
| | | | | as tied scalars and scalars with overloaded stringification. p4raw-id: //depot/perl@27273