From: Jarkko Hietaniemi Date: Tue, 1 Aug 2006 08:04:26 +0000 (+0300) Subject: op/stat.t: SKIP count fix in case of no dirfd() X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c406be79b6be916cd81961f33cd53cf71e273a76;p=p5sagit%2Fp5-mst-13.2.git op/stat.t: SKIP count fix in case of no dirfd() Message-Id: <200608010504.k7154QT3178692@kosh.hut.fi> p4raw-id: //depot/perl@28635 --- diff --git a/t/op/stat.t b/t/op/stat.t index 86d100b..bcf5bd1 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}");