1#!/usr/bin/perl 2# HARNESS-NO-STREAM 3 4BEGIN { 5 if( $ENV{PERL_CORE} ) { 6 chdir 't'; 7 @INC = '../lib'; 8 } 9} 10 11# Ensure that intermixed prints to STDOUT and tests come out in the 12# right order (ie. no buffering problems). 13 14use Test::More tests => 20; 15my $T = Test::Builder->new; 16$T->no_ending(1); 17 18for my $num (1..10) { 19 $tnum = $num * 2; 20 pass("I'm ok"); 21 $T->current_test($tnum); 22 print "ok $tnum - You're ok\n"; 23} 24