summaryrefslogtreecommitdiff
path: root/t
Commit message (Collapse)AuthorAgeFilesLines
* Fix untimely destruction introduced by lvalue ops [RT#67838] by returning a ↵Eric Brine2010-08-134-16/+4
| | | | TEMP instead of using TARG. Made appropriate TODO tests live.
* TODO tests for untimely destruction introduced by lvalue ops [RT#67838]Eric Brine2010-08-134-4/+63
|
* Remove invalid version object from diag.t exceptionsDavid Golden2010-08-121-1/+0
|
* Refactor porting/diag.t and improve output formatDavid Golden2010-08-121-20/+35
| | | | | | | | | | Adds a subroutine to standardize messages variants into a form that appears in perldiag.pod. Standardizes "panic: ..." instead of skipping it. Tests files in sorted order; improves diagnostic output format for readability; only shows pass/fail once for each diagnostic message
* Add perldiag entries for new version format errorsDavid Golden2010-08-121-0/+9
| | | | | Also updates porting/diag.t to standardize the detected messages into the format used in perldiag.pod
* Improve diag.t to detect BADVERSION diagnosticsDavid Golden2010-08-121-17/+20
|
* Convert int.t to test.pl (and hence produce better failure diagnostics).Nicholas Clark2010-08-121-50/+21
|
* RT #75468: readline ignores <> overloading when arg is tiedFather Chrysostomos2010-08-111-1/+3
|
* [perl #75904] \$ prototype does not make a unary functionFather Chrysostomos2010-08-111-1/+26
| | | | | | | | | | | | | | | | | | This fixes this problem : $ perl -le' sub foo($) { print "foo" }; foo $_, exit' foo $ perl -le' sub foo(\$) { print "foo" }; foo $_, exit' Too many arguments for main::foo at -e line 1, at EOF Execution of -e aborted due to compilation errors. for all those prototypes: * \sigil \[...] ;$ ;* ;\sigil ;\[...]
* Close the tempfile in caller.tCraig A. Berry2010-08-021-0/+1
| | | | Otherwise it will be locked when trying to run it on VMS.
* Fix file name in commentDavid Cantrell2010-08-021-1/+1
|
* Improve Porting/checkAUTHORS.plDavid Golden2010-07-301-1/+1
| | | | | | | Rationalized options and usage message. The new "--who" option now gives full names as provided in the AUTHORS file. Updated t/porting/authors.t for the new option syntax.
* Make new tie test less noisyRafael Garcia-Suarez2010-07-301-2/+1
|
* Tests to check if FETCH of a tied variable isn't called moreAbigail2010-07-301-0/+174
| | | | than once. See also Bug 76814.
* Hash assignment can zap weak references to the hashFather Chrysostomos (via RT)2010-07-291-1/+12
| | | | | | | | [perl #76716] commits 044d8c24f and 64345bb broke backrefs to hashes that are merely cleared or undeffed, but not freed. Spotted by Father Chrysostomos. Test for it here (fixes coming next)
* Make srand() return "0 but true" for 0, for backwards compatible behaviour.Nicholas Clark2010-07-281-1/+19
|
* Add a test for srand's return valueRafael Garcia-Suarez2010-07-281-1/+5
|
* Move ExtUtils::ParseXS from cpan/ to dist/Florian Ragwitz2010-07-271-2/+2
| | | | Both Ken and David agree with this.
* Merge remote branch 'khwilliamson/ncharnames' into bleadRafael Garcia-Suarez2010-07-271-1/+47
|\ | | | | | | | | Conflicts: pod/perl5133delta.pod
| * t/lib/charnames/alias: Add explicit warnings setsKarl Williamson2010-07-131-0/+46
| | | | | | | | This makes this more immune to ENV differences
| * charnames: Fix scoping bugsKarl Williamson2010-07-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was done by moving what could to %^H. Because data structures in %^H get stringified at runtime, new serialized entries for them had to be created and then unserialized on each runtime call. Also, because %^H is read-only at runtime, some data structures couldn't be moved to it. Things were set up so that these contain only things invariant under scoping, and looked at only when the same scoped options are in effect as when they were created. Further comments at declaration of %full_names_cache. I was well into this patch when it dawned on me that it was doing unnecessary tests, so that if (! a) { conditionally set a } if (! a) {} could be implemented more efficiently as if (! a) { conditionally set a } if (! a) {} } so I changed it, which messes up leading indentation for the diffs.
* | Change function signature of grok_bslash_oKarl Williamson2010-07-271-6/+6
| | | | | | | | The previous return value where NULL meant OK is outside-the-norm.
* | Keep test output pretty by actually using skip_all()'s message...George Greer2010-07-261-3/+2
| |
* | MSWin32's "-x" checks file extension, so it isn't useful for exec-bit.tGeorge Greer2010-07-261-0/+4
| |
* | Add filename with spurious +x bit to diag in t/porting/exec-bit.tGeorge Greer2010-07-261-1/+1
| | | | | | | | | | This is for the benefit of smoke logs where the "not ok" aren't shown but the diag() output is.
* | Restore errno if signal handler changes itLubomir Rintel2010-07-261-0/+30
| | | | | | | | | | It's way too easy to forget to "local $!" in signal handlers and changing $! when signal hits between two ops is probably never useful.
* | [perl #75656] lvalue subs don't copy on writeFather Chrysostomos2010-07-261-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | The attached patch teaches pp_leavesublv about kine. For the record, a binary search points its digit at: From: Nicholas Clark <nick@ccl4.org> Date: Mon, 6 Jun 2005 09:08:45 +0000 (+0000) Subject: Shared hash key scalars can be safely copied as shared hash key scalars Shared hash key scalars can be safely copied as shared hash key scalars all the time.
* | Fix for RT#1804: Anonymous glob breaks when assigned throughFather Chrysostomos2010-07-261-1/+12
| | | | | | | | | | | | | | | | The problem here is that globs are scalars and the = operator can only distinguish between scalar and glob assignments by the flags on the glob. It only sees the return value of *{}, not the *{} itself. We can fix this by having the pp_sassign look for a rv2gv (*{}) on its LHS, to decide what type of assignment to do.
* | Make the success and failure messages of t/porting/diag.t more clear, and ↵James Mastros2010-07-261-4/+19
| | | | | | | | add comments
* | Document "Ambiguous use of -%s resolved as -&%s()"James Mastros2010-07-261-1/+0
| |
* | Document "Ambiguous use of %c{%s%s} resolved to %c%s%s"James Mastros2010-07-261-1/+0
| |
* | Document "Ambiguous use of %c{%s} resolved to %c%s"James Mastros2010-07-261-1/+0
| |
* | Document "Ambiguous use of %c resolved as operator %c"James Mastros2010-07-261-1/+0
| |
* | Stick a comment in t/porting/diag.t begging people not to abuse the ignore listJames Mastros2010-07-261-0/+3
| |
* | Normalize formatting of "Ambiguous call resolved as CORE::%s(), qualify as ↵James Mastros2010-07-261-1/+0
| | | | | | | | such or use &" in toke.c, so t/porting/diag.t can find it.
* | add print.t with testing of implicit printing of $_Gerard Goossen2010-07-251-0/+12
| |
* | Port dual-life.t to VMS.Craig A. Berry2010-07-241-2/+5
| | | | | | | | | | The utils have a .com extension and filename case may not be preserved.
* | Global executable bit cleanupDavid Golden2010-07-247-0/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When porting/makerel runs, all files copied into the directory for the tarball have the executable bit stripped and then only a specific set of files have the executable bit restored. There are many files in the repo that have the executable bit set in the repo that will be stripped. So that the state of files in the repo is as close as possible to the state of files in the release tarball, the executable bit has been stripped from such files. In one recent case, a file added from a dual-life module needed the executable bit set. Because it had the bit in the repo but was not listed in makerel to get an executable bit, tests using it passed in the repo and failed in the tarball. This commit refactors the list into a new file, Porting/exec-bit.txt and add tests to detect a mismatch between files listed there and actual executable bits in the repo.
* | Move PathTools from cpan/ to dist/Florian Ragwitz2010-07-241-2/+2
| |
* | Add Perl_init_dbargs(), to set up @DB::args without losing SV references.Nicholas Clark2010-07-211-1/+42
| |
* | Remove spurious ')'Jan Dubois2010-07-201-2/+2
| |
* | Use .\ instead of ./ on WindowsJan Dubois2010-07-201-1/+2
| |
* | alarm() on Windows doesn't interrupt system callsJan Dubois2010-07-201-0/+2
| | | | | | | | | | | | alarm() on Windows is implemented using a timer that is checked in win32_async_check(), so there is no way a SIGALRM can be raised while Perl is blocking in a system call.
* | don't use Test::More in dual-life.tDavid Golden2010-07-201-1/+4
| |
* | Add exceptions to dual-life.tDavid Golden2010-07-191-1/+12
| |
* | Added t/porting/dual-life.tDavid Golden2010-07-181-0/+29
| | | | | | | | | | | | Because we manually generate Makefiles, any executables need to be generated from .PL files in utils/. This test checks if dual-life executables show up in utils/.
* | add CVf_CVGV_RC flagDavid Mitchell2010-07-181-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | after the recent commit 803f274831f937654d48f8cf0468521cbf8f5dff, the CvGV field is sometimes reference counted. Since it was intended that the reference counting would happen only for anonymous CVs, the CVf_ANON flag was co-opted to indicate whether RC was being used. This is not entirely robust; for example, sub __ANON__ {} is a non-anon sub which points to the same GV used by anon subs, which while itself doesn't directly break things, shows that the potential for breakage is there. So add a separate flag just to indicate the reference count status of the CvGV field.
* | Add \o{} escapeKarl Williamson2010-07-174-1/+63
| | | | | | | | | | | | | | | | | | | | This commit adds the new construct \o{} to express a character constant by its octal ordinal value, along with ancillary tests and documentation. A function to handle this is added to util.c, and it is called from the 3 parsing places it could occur. The function is a candidate for in-lining, though I doubt that it will ever be used frequently.
* | Add tests for \400 for "" strings, s//replacement/Karl Williamson2010-07-172-2/+16
| | | | | | | | Signed-off-by: David Golden <dagolden@cpan.org>
* | \400 -\777 now means the same thing in all d-quoteKarl Williamson2010-07-172-10/+8
| | | | | | | | | | | | | | | | | | | | | | | | Prior to this patch, \400 - \777 meant something different in some circumstances in regexes outside bracketed character classes. A deprecated warning message has been in place since 5.10.1 when this happens. Remove the warning, and bring the behavior into line with the other double-quotish contexts. \400 - \777 now always means the same thing as \x{100} - \x{1FF} (except when the octal forms are taken as backreferences.) Signed-off-by: David Golden <dagolden@cpan.org>