summaryrefslogtreecommitdiff
path: root/t/op/lfs.t
diff options
context:
space:
mode:
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;