From: Andy Grundman Date: Mon, 5 Nov 2007 22:05:19 +0000 (+0000) Subject: Fix lighttpd tests to use correct lib directory X-Git-Tag: 5.7099_04~108 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=43ebabf558e7c5bbae6f16c67b2caf5275c72f1c Fix lighttpd tests to use correct lib directory --- diff --git a/t/optional_lighttpd-fastcgi-non-root.t b/t/optional_lighttpd-fastcgi-non-root.t index a293870..f27ee28 100644 --- a/t/optional_lighttpd-fastcgi-non-root.t +++ b/t/optional_lighttpd-fastcgi-non-root.t @@ -76,12 +76,15 @@ url.rewrite = ( "deep/path\$" => "deep/path/" ) fastcgi.server = ( "/deep/path" => ( "FastCgiTest" => ( - "socket" => "$docroot/test.socket", - "check-local" => "disable", - "bin-path" => "$docroot/TestApp/script/testapp_fastcgi.pl", - "min-procs" => 1, - "max-procs" => 1, - "idle-timeout" => 20 + "socket" => "$docroot/test.socket", + "check-local" => "disable", + "bin-path" => "$docroot/TestApp/script/testapp_fastcgi.pl", + "min-procs" => 1, + "max-procs" => 1, + "idle-timeout" => 20, + "bin-environment" => ( + "PERL5LIB" => "$docroot/../../lib" + ) ) ) ) diff --git a/t/optional_lighttpd-fastcgi.t b/t/optional_lighttpd-fastcgi.t index 43a474e..b64c186 100644 --- a/t/optional_lighttpd-fastcgi.t +++ b/t/optional_lighttpd-fastcgi.t @@ -71,12 +71,15 @@ server.port = $port fastcgi.server = ( "" => ( "FastCgiTest" => ( - "socket" => "$docroot/test.socket", - "check-local" => "disable", - "bin-path" => "$docroot/TestApp/script/testapp_fastcgi.pl", - "min-procs" => 1, - "max-procs" => 1, - "idle-timeout" => 20 + "socket" => "$docroot/test.socket", + "check-local" => "disable", + "bin-path" => "$docroot/TestApp/script/testapp_fastcgi.pl", + "min-procs" => 1, + "max-procs" => 1, + "idle-timeout" => 20, + "bin-environment" => ( + "PERL5LIB" => "$docroot/../../lib" + ) ) ) )