Test perl #112312, crash on syntax error
authorFather Chrysostomos <sprout@cpan.org>
Sun, 24 Jun 2012 06:34:13 +0000 (23:34 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Fri, 29 Jun 2012 07:20:59 +0000 (00:20 -0700)
commit7d82c9ce7c2bfa3a12c9a63cdbf316426bfee222
treee307ece2514d0e2f69a5eeb4023bd0d059ac525c
parent42440e3c68e8bafb7e2a74763360939de0fad6be
Test perl #112312, crash on syntax error

I am having difficulty getting these tests to fail.  They crash when
run standalone, but always pass when run via fresh_perl.t.  Hopefully,
they will fail somewhere. :-)

Yes, fresh_perl.t does begin with this:

# ** DO NOT ADD ANY MORE TESTS HERE **

But t/comp/parser.t does not (and should not) use test.pl, so it is
very hard to test something like this.

Putting it here seemed slightly better than putting it in
its own file.
t/run/fresh_perl.t