diff options
author | Raphael Manfredi <Raphael.Manfredi@pobox.com> | 2000-10-23 22:08:56 +0200 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-10-24 13:26:04 +0000 |
commit | b29b780f4ab0c4098dfe60dcb2e227355af1f336 (patch) | |
tree | 266cc9c967ce0d049723b3652039c91ee343ed19 /t | |
parent | 6b14153558e53fc6fe6e32088f3a22cb391d2206 (diff) | |
download | perl-b29b780f4ab0c4098dfe60dcb2e227355af1f336.tar.gz |
Replace #7409 with
Subject: Re: [PATCH] Re: [ID 20001020.009] Not OK: perl v5.7.0 +DEVEL7368 on dos-djgpp djgp
Message-ID: <20001023200855.A14850@nice.ram.loc>
p4raw-id: //depot/perl@7418
Diffstat (limited to 't')
-rw-r--r-- | t/lib/st-lock.t | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/t/lib/st-lock.t b/t/lib/st-lock.t index 1e6ae63ce9..80a7d2c85a 100644 --- a/t/lib/st-lock.t +++ b/t/lib/st-lock.t @@ -1,18 +1,28 @@ #!./perl -# $Id: lock.t,v 1.0.1.1 2000/09/28 21:44:06 ram Exp $ +# $Id: lock.t,v 1.0.1.2 2000/10/23 18:03:07 ram Exp ram $ # # @COPYRIGHT@ # # $Log: lock.t,v $ +# Revision 1.0.1.2 2000/10/23 18:03:07 ram +# patch4: protected calls to flock() for dos platform +# # Revision 1.0.1.1 2000/09/28 21:44:06 ram # patch2: created. # # +use Config; + +if ($Config{'osname'} eq 'dos') { + print "1..0 # Skip: fcntl/flock emulation broken on this platform\n"; + exit 0; +} + sub BEGIN { chdir('t') if -d 't'; - @INC = '.'; + @INC = '.'; push @INC, '../lib'; require Config; import Config; if ($Config{'extensions'} !~ /\bStorable\b/) { @@ -23,10 +33,6 @@ sub BEGIN { print "1..0 # Skip: no flock or flock emulation on this platform\n"; exit 0; } - if ($Config{'osname'} eq 'dos') { - print "1..0 # Skip: fcntl/flock emulation broken on this platform\n"; - exit 0; - } require 'lib/st-dump.pl'; } |