From: Father Chrysostomos Date: Mon, 26 Dec 2011 21:58:48 +0000 (-0800) Subject: Convert diagnostics.t to test.pl X-Git-Tag: accepted/trunk/20130322.191538~1513 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f63ff350ed85ee4bc147c5954d2d1e2f85805761;p=platform%2Fupstream%2Fperl.git Convert diagnostics.t to test.pl so that runperl is available --- diff --git a/lib/diagnostics.t b/lib/diagnostics.t index d0d4364..df111a8 100644 --- a/lib/diagnostics.t +++ b/lib/diagnostics.t @@ -3,10 +3,10 @@ BEGIN { chdir '..' if -d '../pod' && -d '../t'; @INC = 'lib'; + require './t/test.pl'; + plan(11); } -use Test::More tests => 11; - BEGIN { my $w; $SIG{__WARN__} = sub { $w = shift };