summaryrefslogtreecommitdiff
path: root/lib/Net/t/ftp.t
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Net/t/ftp.t')
-rw-r--r--lib/Net/t/ftp.t5
1 files changed, 5 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;