summaryrefslogtreecommitdiff
path: root/tests/request.t
diff options
context:
space:
mode:
authorJan Kneschke <jan@kneschke.de>2005-06-26 10:27:41 +0000
committerJan Kneschke <jan@kneschke.de>2005-06-26 10:27:41 +0000
commit877161c06723c477922c8c0b9fe4f52f621b527d (patch)
treec8a119c5da7ed407332ecad2b279d68e4c716d8c /tests/request.t
parent31b066fb4e51ed2b605e41a1354786b327c7adca (diff)
downloadlighttpd-git-877161c06723c477922c8c0b9fe4f52f621b527d.tar.gz
switch to LigtyTest modulelighttpd-1.3.14
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@394 152afb58-edef-0310-8abb-c4023f1b3aa9
Diffstat (limited to 'tests/request.t')
-rwxr-xr-xtests/request.t6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/request.t b/tests/request.t
index 97b76437..4ee9bbca 100755
--- a/tests/request.t
+++ b/tests/request.t
@@ -1,4 +1,10 @@
#! /usr/bin/perl -w
+BEGIN {
+ # add current source dir to the include-path
+ # we need this for make distcheck
+ (my $srcdir = $0) =~ s#/[^/]+$#/#;
+ unshift @INC, $srcdir;
+}
use strict;
use IO::Socket;