1N/A if( $ENV{PERL_CORE} ) {
1N/A @INC = ('../lib', 'lib');
1N/A# Utility testing functions.
1N/A my($test, $name) = @_;
1N/A $ok .= "not " unless $test;
1N/A $ok .= "ok $test_num";
1N/A $ok .= " - $name" if defined $name;
1N/Arequire Test::Simple;
1N/Arequire Test::Simple::Catch;
1N/Amy($out, $err) = Test::Simple::Catch::caught();
1N/ATest::Simple->import(tests => 5);
1N/A My::Test::ok($$out eq <<OUT);
1N/A My::Test::ok($$err eq <<ERR);
1N/A# Failed test ($0 at line 31)
1N/A# Looks like you planned 5 tests but only ran 2.