diff options
author | Nicholas Clark <nick@ccl4.org> | 2011-03-07 17:36:55 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2011-03-07 17:36:55 +0000 |
commit | 95e2dc41df5a5b893cbc879e1fce6d1a86aa8711 (patch) | |
tree | ab2e66428f0f2162cbace655679f843011b53125 /t/op/lfs.t | |
parent | fa71130c50712ca92335bb3b5c6deef0700bc24d (diff) | |
download | perl-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.t | 10 |
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; |