summaryrefslogtreecommitdiff
path: root/t/io
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2007-11-05 15:25:46 +0000
committerNicholas Clark <nick@ccl4.org>2007-11-05 15:25:46 +0000
commit1d341aadb06645447bfa5766de033598ea926c28 (patch)
treed81b96c39b3cdcf8b0a07b27f69a914081651a5e /t/io
parentbbbc33d002fb16005d670814239b18d82b3e6229 (diff)
downloadperl-1d341aadb06645447bfa5766de033598ea926c28.tar.gz
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
Diffstat (limited to 't/io')
-rwxr-xr-xt/io/dup.t5
1 files changed, 3 insertions, 2 deletions
diff --git a/t/io/dup.t b/t/io/dup.t
index d1016881fc..3f211b40d2 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));