Andy Grundman schrieb:
> On Nov 5, 2007, at 8:06 AM, Bernhard Weisshuhn wrote:
>
>> Hi,
>>
>> am I the only one who cannot get the lighttpd-fastcgi-tests for
>> Catalyst-Runtime-5.7011 to pass with the current lighttpd 1.4.18?
>>
>> [...]
>
> 1.4.18 passes all tests for me on OSX, except the 307 one and live_fork.
Found it.
Seems the fastcgi-script is not passed the new lib directory, so
effectively it runs against an old installation (if present).
Patch for the tests attached (works for me).
regards,
bkw
diff -ur Catalyst-Runtime-5.7011.vanilla/t/optional_lighttpd-fastcgi-non-root.t Catalyst-Runtime-5.7011.patched/t/optional_lighttpd-fastcgi-non-root.t
--- Catalyst-Runtime-5.7011.vanilla/t/optional_lighttpd-fastcgi-non-root.t 2007-09-20 11:29:38.000000000 +0200
+++ Catalyst-Runtime-5.7011.patched/t/optional_lighttpd-fastcgi-non-root.t 2007-11-05 19:33:46.399947040 +0100
@@ -81,7 +81,10 @@
"bin-path" => "$docroot/TestApp/script/testapp_fastcgi.pl",
"min-procs" => 1,
"max-procs" => 1,
- "idle-timeout" => 20
+ "idle-timeout" => 20,
+ "bin-environment" => (
+ "PERL5LIB" => "$docroot/../../lib"
+ )
)
)
)
diff -ur Catalyst-Runtime-5.7011.vanilla/t/optional_lighttpd-fastcgi.t Catalyst-Runtime-5.7011.patched/t/optional_lighttpd-fastcgi.t
--- Catalyst-Runtime-5.7011.vanilla/t/optional_lighttpd-fastcgi.t 2007-09-20 11:29:36.000000000 +0200
+++ Catalyst-Runtime-5.7011.patched/t/optional_lighttpd-fastcgi.t 2007-11-05 19:14:53.643915470 +0100
@@ -76,7 +76,10 @@
"bin-path" => "$docroot/TestApp/script/testapp_fastcgi.pl",
"min-procs" => 1,
"max-procs" => 1,
- "idle-timeout" => 20
+ "idle-timeout" => 20,
+ "bin-environment" => (
+ "PERL5LIB" => "$docroot/../../lib"
+ )
)
)
)
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[EMAIL PROTECTED]/
Dev site: http://dev.catalyst.perl.org/