From: Jarkko Hietaniemi Date: Wed, 11 Aug 1999 22:48:25 +0000 (+0000) Subject: Don't bother with lfs testing if off_t is too small. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=9f8fdb7deccb72904f51462a0509685b345f54c6;p=p5sagit%2Fp5-mst-13.2.git Don't bother with lfs testing if off_t is too small. p4raw-id: //depot/cfgperl@3962 --- diff --git a/t/lib/syslfs.t b/t/lib/syslfs.t index 807ff11..8f89bdb 100644 --- a/t/lib/syslfs.t +++ b/t/lib/syslfs.t @@ -11,6 +11,12 @@ BEGIN { } chdir 't' if -d 't'; unshift @INC, '../lib'; + require Config; import Config; + # Don't bother if there are no quad offsets. + if ($Config{lseeksize} < 8) { + print "1..0\n# no 64-bit offsets\n"; + bye(); + } require Fcntl; import Fcntl; } diff --git a/t/op/lfs.t b/t/op/lfs.t index 2704ecf..345fa26 100644 --- a/t/op/lfs.t +++ b/t/op/lfs.t @@ -11,6 +11,12 @@ BEGIN { } chdir 't' if -d 't'; unshift @INC, '../lib'; + # Don't bother if there are no quad offsets. + require Config; import Config; + if ($Config{lseeksize} < 8) { + print "1..0\n# no 64-bit offsets\n"; + bye(); + } } sub bye {