summaryrefslogtreecommitdiff
path: root/t/base
diff options
context:
space:
mode:
authorPeter Prymmer <PPrymmer@factset.com>2001-07-16 09:43:14 -0700
committerNick Ing-Simmons <nik@tiuk.ti.com>2001-07-17 08:26:35 +0000
commitbd87065d8cc9739b106c44d77dbbfef28bca8065 (patch)
treedc57248c6aeaddea5c2f6c96b5ba79e6021a9829 /t/base
parentf7e1e956b6cd2661c1f96b493843e270bfa22aed (diff)
downloadperl-bd87065d8cc9739b106c44d77dbbfef28bca8065.tar.gz
Re: [PATCH: perl@11359] possible fix for sprintf.t on VAX that loads %Config
Message-Id: <Pine.OSF.4.10.10107161631300.464972-100000@aspara.forte.com> Move t/base/commonsense.t to t/lib/commonsense.t - base tests should not depend on existance of Config.pm p4raw-id: //depot/perl@11398
Diffstat (limited to 't/base')
-rw-r--r--t/base/commonsense.t25
1 files changed, 0 insertions, 25 deletions
diff --git a/t/base/commonsense.t b/t/base/commonsense.t
deleted file mode 100644
index 6e313073d2..0000000000
--- a/t/base/commonsense.t
+++ /dev/null
@@ -1,25 +0,0 @@
-#!./perl
-
-chdir 't' if -d 't';
-@INC = '../lib';
-require Config; import Config;
-if (($Config{'extensions'} !~ /\b(DB|[A-Z]DBM)_File\b/) ){
- print "Bail out! Perl configured without DB_File or [A-Z]DBM_File\n";
- exit 0;
-}
-if (($Config{'extensions'} !~ /\bFcntl\b/) ){
- print "Bail out! Perl configured without Fcntl module\n";
- exit 0;
-}
-if (($Config{'extensions'} !~ /\bIO\b/) ){
- print "Bail out! Perl configured without IO module\n";
- exit 0;
-}
-# hey, DOS users do not need this kind of common sense ;-)
-if ($^O ne 'dos' && ($Config{'extensions'} !~ /\bFile\/Glob\b/) ){
- print "Bail out! Perl configured without File::Glob module\n";
- exit 0;
-}
-
-print "1..1\nok 1\n";
-