From b542dcd5d41cd1a604618b49bf9e9647112d1063 Mon Sep 17 00:00:00 2001 From: Jarkko Hietaniemi Date: Tue, 24 Oct 2000 14:25:30 +0000 Subject: [PATCH] Test tweak to avoid pulling in the whole Config. p4raw-id: //depot/perl@7423 --- t/lib/st-lock.t | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/t/lib/st-lock.t b/t/lib/st-lock.t index 80a7d2c..21d2b67 100644 --- a/t/lib/st-lock.t +++ b/t/lib/st-lock.t @@ -13,13 +13,6 @@ # # -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 = '.'; @@ -33,6 +26,10 @@ sub BEGIN { print "1..0 # Skip: no flock or flock emulation on this platform\n"; exit 0; } + if ($^O eq 'dos') { + print "1..0 # Skip: fcntl/flock emulation broken on this platform\n"; + exit 0; + } require 'lib/st-dump.pl'; } -- 1.8.3.1