summaryrefslogtreecommitdiff
path: root/t/op/die.t
Commit message (Collapse)AuthorAgeFilesLines
* t/op/die.t: tests for RT #4821Dan Collins2016-10-211-1/+8
|
* Use set_up_inc for several unit testsNicolas R2016-08-181-1/+1
| | | | | | | | | | | | | | | Use set_up_inc when require.pl is loaded move plan outside of BEGIN block when no tests are run at BEGIN time. Using set_up_inc allow to run these tests under minitest but also compile them using B::C. This also has the advantage to use a single control point for @INC setup. Note: some tests cannot use 'require test.pl', unshfit is then used for them.
* Make like() and unlike() in t/test.pl refuse non-qr// argumentsÆvar Arnfjörð Bjarmason2014-06-211-2/+2
| | | | | | | | | | | | | | | As I noted in v5.21.1-12-g826af13 we have subtle bugs in the test suite because you can do e.g. like($@, '') now which'll be a passing test even when we have an error, because $@ =~ // will be true. I'm just changing t/test.pl to not accept non-Regexp arguments, and fixing up a bunch of test failures that resulted from that. There might still be more of these in tests that I'm just not running, I've also changed some of these from $str =~ /foo/ to $str eq 'foo' (i.e. s/like/is/) in cases where that appeared to work, but it might break some systems. Let's just find that out via the smokers.
* [perl #117743] don't warn on $@ = undef; die;Tony Cook2013-04-261-0/+1
| | | | and fix the test that's meant to detect this bug.
* Refactor t/op/die.t to re-use the same $SIG{__DIE__} handler where possible.Nicholas Clark2012-08-301-30/+26
| | | | | | | Restore testing that the $SIG{__DIE__} handler is called for the case of C<die bless [ 7 ], "Error";> which was removed by the previous refactoring. Re-using the same $SIG{__DIE__} handler results in 4 more tests of isa_ok() for an 'ARRAY' - this isn't going to hurt anyone.
* Refactor t/op/die.t to use test.pl instead of making TAP by hand.Colin Kuskie2012-08-301-30/+56
| | | | [With a few whitespace tweaks]
* Mark all .t and .pm files as non executableRafael Garcia-Suarez2009-06-061-0/+0
|
* [perl #36470] 'undef $@; die' gives uninint value warningDave Mitchell2005-07-061-1/+12
| | | p4raw-id: //depot/perl@25087
* utf8 variable names scrambled in error messagesAdrian M. Enache2003-08-211-1/+4
| | | | | Message-ID: <20030821181726.GA1241@ratsnest.hole> p4raw-id: //depot/perl@20805
* [PATCH] Re: [BUG] string loses its utf8 flag on dieAdrian M. Enache2003-08-171-5/+22
| | | | | | | | | | | Date: Sat, 16 Aug 2003 16:03:16 +0300 Message-ID: <20030816130316.GA1654@ratsnest.hole> Subject: Re: [PATCH] Re: [BUG] string loses its utf8 flag on die From: Enache Adrian <enache@rdslink.ro> Date: Sun, 17 Aug 2003 04:42:22 +0300 Message-ID: <20030817014222.GA1287@ratsnest.hole> p4raw-id: //depot/perl@20747
* allow embedded null characters in diagnosticsGurusamy Sarathy1999-04-261-1/+1
| | | p4raw-id: //depot/perl@3274
* [win32] merge changes#1016,1018 from maintbranch (1017 is n/a)Gurusamy Sarathy1998-05-231-1/+18
| | | | | | p4raw-link: @1018 on //depot/maint-5.004/perl: 2140f6165485c56d1f5c5732484d28716b8f4052 p4raw-link: @1016 on //depot/maint-5.004/perl: b2a0fe98888cc8cc9808cbb17ff2b7f00e09ee60 p4raw-id: //depot/win32/perl@1030
* [win32] merge changes#989,990,992 from maintbranchGurusamy Sarathy1998-05-161-0/+26
p4raw-link: @992 on //depot/maint-5.004/perl: 939cd61b8f2cacc306672f95f1fdd75c8a467988 p4raw-link: @990 on //depot/maint-5.004/perl: 8025562d4dc1786ce758f6f408dd237fc4eca71e p4raw-link: @989 on //depot/maint-5.004/perl: 7ba7701dce644462ff1139b413d24e4f7004bf2e p4raw-id: //depot/win32/perl@1004