summaryrefslogtreecommitdiff
path: root/t/op/lfs.t
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-03-07 17:36:55 +0000
committerNicholas Clark <nick@ccl4.org>2011-03-07 17:36:55 +0000
commit95e2dc41df5a5b893cbc879e1fce6d1a86aa8711 (patch)
treeab2e66428f0f2162cbace655679f843011b53125 /t/op/lfs.t
parentfa71130c50712ca92335bb3b5c6deef0700bc24d (diff)
downloadperl-95e2dc41df5a5b893cbc879e1fce6d1a86aa8711.tar.gz
Refactor 5 tests to use skip_all(), instead of generating TAP locally.
Diffstat (limited to 't/op/lfs.t')
-rw-r--r--t/op/lfs.t10
1 files changed, 4 insertions, 6 deletions
diff --git a/t/op/lfs.t b/t/op/lfs.t
index aac3d34ba5..f06d19261c 100644
--- a/t/op/lfs.t
+++ b/t/op/lfs.t
@@ -5,13 +5,11 @@
BEGIN {
chdir 't' if -d 't';
@INC = '../lib';
- # Don't bother if there are no quad offsets.
- require Config; import Config;
- if ($Config{lseeksize} < 8) {
- print "1..0 # Skip: no 64-bit file offsets\n";
- exit(0);
- }
require './test.pl';
+ require Config;
+ # Don't bother if there are no quad offsets.
+ skip_all('no 64-bit file offsets')
+ if $Config::Config{lseeksize} < 8;
}
use strict;