summaryrefslogtreecommitdiff
path: root/lib/Net/t
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2001-10-07 21:53:33 +0100
committerJarkko Hietaniemi <jhi@iki.fi>2001-10-08 11:53:30 +0000
commit88587957d5515b280bc1becf23e9f6520d5dce08 (patch)
tree9bce880697d5b08985c9b38192d4549c30054862 /lib/Net/t
parente3b2f2afc4d28243cf088b06f65acc79e00144f5 (diff)
downloadperl-88587957d5515b280bc1becf23e9f6520d5dce08.tar.gz
& what's to be done for 5.8.0?
Message-ID: <20011007205333.S38756@plum.flirble.org> p4raw-id: //depot/perl@12356
Diffstat (limited to 'lib/Net/t')
-rw-r--r--lib/Net/t/ftp.t5
-rw-r--r--lib/Net/t/hostname.t6
-rw-r--r--lib/Net/t/nntp.t5
-rw-r--r--lib/Net/t/smtp.t5
4 files changed, 21 insertions, 0 deletions
diff --git a/lib/Net/t/ftp.t b/lib/Net/t/ftp.t
index 46304dbc22..ec323d0307 100644
--- a/lib/Net/t/ftp.t
+++ b/lib/Net/t/ftp.t
@@ -1,5 +1,10 @@
#!./perl -w
+BEGIN {
+ chdir 't' if -d 't';
+ @INC = '../lib';
+}
+
use Net::Config;
use Net::FTP;
diff --git a/lib/Net/t/hostname.t b/lib/Net/t/hostname.t
index 3e55ace019..d743dd44ea 100644
--- a/lib/Net/t/hostname.t
+++ b/lib/Net/t/hostname.t
@@ -1,3 +1,9 @@
+#!./perl -w
+
+BEGIN {
+ chdir 't' if -d 't';
+ @INC = '../lib';
+}
use Net::Domain qw(hostname domainname hostdomain);
use Net::Config;
diff --git a/lib/Net/t/nntp.t b/lib/Net/t/nntp.t
index 1afb588264..e7a42c18c4 100644
--- a/lib/Net/t/nntp.t
+++ b/lib/Net/t/nntp.t
@@ -1,5 +1,10 @@
#!./perl -w
+BEGIN {
+ chdir 't' if -d 't';
+ @INC = '../lib';
+}
+
use Net::Config;
use Net::NNTP;
use Net::Cmd qw(CMD_REJECT);
diff --git a/lib/Net/t/smtp.t b/lib/Net/t/smtp.t
index 55607fe993..c7c3862ab6 100644
--- a/lib/Net/t/smtp.t
+++ b/lib/Net/t/smtp.t
@@ -1,5 +1,10 @@
#!./perl -w
+BEGIN {
+ chdir 't' if -d 't';
+ @INC = '../lib';
+}
+
use Net::Config;
use Net::SMTP;