X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Flib%2Fsyslfs.t;h=2bdb69d7e01ce9cd4291a68951a04f66de6d1fdd;hb=569bd3158af2276a406770e3d68e76b7da59b730;hp=3cfe3022da96aa752f021e5d99fbb19d55dfd8cd;hpb=6afb513cb714d9103a8b829d12736d6935324245;p=p5sagit%2Fp5-mst-13.2.git diff --git a/t/lib/syslfs.t b/t/lib/syslfs.t index 3cfe302..2bdb69d 100644 --- a/t/lib/syslfs.t +++ b/t/lib/syslfs.t @@ -4,7 +4,7 @@ BEGIN { chdir 't' if -d 't'; - unshift @INC, '../lib'; + @INC = '../lib'; require Config; import Config; # Don't bother if there are no quad offsets. if ($Config{lseeksize} < 8) { @@ -14,6 +14,11 @@ BEGIN { require Fcntl; import Fcntl qw(/^O_/ /^SEEK_/); } +use strict; + +our @s; +our $fail; + sub zap { close(BIG); unlink("big"); @@ -26,35 +31,42 @@ sub bye { exit(0); } +my $explained; + sub explain { - print <