Philippe M. Chiasson wrote:

         ok t_filepath_cmp(canonpath(Apache->server_root_relative),
                           canonpath($server_root),
                           'Apache->server_root_relative()');
+
+        ok t_filepath_cmp(canonpath(Apache->server_root_relative('/tmp')),
+                          canonpath('/tmp'),
+                          "Apache->server_root_relative('/tmp')");
     }

I think it's more like:

   $path = catdir Apache::ServerUtil::server_root, "logs";
   ok t_filepath_cmp(canonpath(Apache->server_root_relative($path)),
                         canonpath($path),
                         "Apache->server_root_relative($path)");

since usually it's:

$r->server_root_relative($component), where $component is either relative to serverroot or already a full path (whose base is serverroot)

--
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to