From: Nicholas Clark Date: Mon, 5 Nov 2007 15:25:46 +0000 (+0000) Subject: Adjust the skip count for t/io/dup.t for the -Uuseperlio case, in a way X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1d341aadb06645447bfa5766de033598ea926c28;p=p5sagit%2Fp5-mst-13.2.git Adjust the skip count for t/io/dup.t for the -Uuseperlio case, in a way that will hopefully make it harder for it to get out of sync again. p4raw-id: //depot/perl@32225 --- diff --git a/t/io/dup.t b/t/io/dup.t index d101688..3f211b4 100755 --- a/t/io/dup.t +++ b/t/io/dup.t @@ -10,7 +10,8 @@ use Config; no warnings 'once'; my $test = 1; -print "1..29\n"; +my $tests_needing_perlio = 17; +plan(12 + $tests_needing_perlio); print "ok 1\n"; open(DUPOUT,">&STDOUT"); @@ -91,7 +92,7 @@ open(F, ">&DUPOUT") or die "Cannot dup stdout back: $!"; curr_test(13); SKIP: { - skip("need perlio", 14) unless $Config{useperlio}; + skip("need perlio", $tests_needing_perlio) unless $Config{useperlio}; ok(open(F, ">&", STDOUT)); isnt(fileno(F), fileno(STDOUT));