summaryrefslogtreecommitdiff
path: root/lib/CGI/t/cookie.t
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CGI/t/cookie.t')
-rw-r--r--lib/CGI/t/cookie.t5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/CGI/t/cookie.t b/lib/CGI/t/cookie.t
index 25b6a3a210..a2012e556b 100644
--- a/lib/CGI/t/cookie.t
+++ b/lib/CGI/t/cookie.t
@@ -1,5 +1,10 @@
#!/usr/local/bin/perl -w
+BEGIN {
+ chdir 't' if -d 't';
+ @INC = '../lib';
+}
+
use strict;
use Test::More tests => 86;
use CGI::Util qw(escape unescape);