summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2006-08-01 11:04:26 +0300
committerSteve Hay <SteveHay@planit.com>2006-08-01 08:10:07 +0000
commitc406be79b6be916cd81961f33cd53cf71e273a76 (patch)
treee19f9157b0b72a1686e72e6c084e903d05a0272b /t
parent2720f793e70a96650f551fd35d72212404ba79d8 (diff)
downloadperl-c406be79b6be916cd81961f33cd53cf71e273a76.tar.gz
op/stat.t: SKIP count fix in case of no dirfd()
Message-Id: <200608010504.k7154QT3178692@kosh.hut.fi> p4raw-id: //depot/perl@28635
Diffstat (limited to 't')
-rwxr-xr-xt/op/stat.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/op/stat.t b/t/op/stat.t
index 86d100b427..bcf5bd1174 100755
--- a/t/op/stat.t
+++ b/t/op/stat.t
@@ -480,7 +480,7 @@ ok(unlink($f), 'unlink tmp file');
}
SKIP: {
- skip "No dirfd()", 2 unless $Config{d_dirfd};
+ skip "No dirfd()", 3 unless $Config{d_dirfd};
ok(opendir(DIR, "."), 'Can open "." dir') || diag "Can't open '.': $!";
ok(stat(DIR), "stat() on dirhandle works");
ok(-d -r _ , "chained -x's on dirhandle");
@@ -498,7 +498,7 @@ SKIP: {
#PVIO's hold dirhandle information, so let's test them too.
SKIP: {
- skip "No dirfd()", 2 unless $Config{d_dirfd};
+ skip "No dirfd()", 3 unless $Config{d_dirfd};
ok(opendir(DIR, "."), 'Can open "." dir') || diag "Can't open '.': $!";
ok(stat(*DIR{IO}), "stat() on *DIR{IO} works");
ok(-d -r *DIR{IO} , "chained -x's on *DIR{IO}");