Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Request Tracker: Devel

'make test' fails on HTTP::Server::Simple::Mason

 

 

Request Tracker devel RSS feed   Index | Next | Previous | View Threaded


lists at maculosa

Nov 19, 2008, 9:54 PM

Post #1 of 2 (756 views)
Permalink
'make test' fails on HTTP::Server::Simple::Mason

Hi Jason,

I just came across the same problem and stumbled on the answer...

I happened to be checking the log files for the proxy server (which runs
on another server)
and noticed that it contained entries for GET http://localhost:13432
which is the URL used
by the Mason test scripts in t/*.t.

In other words, the test scripts are using the HTTP proxy defined in the
environment variable
http_proxy which it is not required when accessing a 'localhost' server.

So I used the commands to successfully test and install
HTTP-Server-Simple-Mason:

cd /root/.cpan/build/HTTP-Server-Simple-Mason-0.09/
unset http_proxy
make test
make install

Rgds - Angus


jesse at bestpractical

Nov 28, 2008, 9:30 AM

Post #2 of 2 (623 views)
Permalink
Re: 'make test' fails on HTTP::Server::Simple::Mason [In reply to]

On Thu 20.Nov'08 at 16:54:39 +1100, Angus Rea wrote:
> Hi Jason,
>
> I just came across the same problem and stumbled on the answer...
>
> I happened to be checking the log files for the proxy server (which runs
> on another server)
> and noticed that it contained entries for GET [1]http://localhost:13432
> which is the URL used
> by the Mason test scripts in t/*.t.
>
> In other words, the test scripts are using the HTTP proxy defined in the
> environment variable
> http_proxy which it is not required when accessing a 'localhost' server.

I see code in those files to remove the http_proxy environment
variable. Does 0.10 just work for you?
>
> So I used the commands to successfully test and install
> HTTP-Server-Simple-Mason:
>
> cd /root/.cpan/build/HTTP-Server-Simple-Mason-0.09/
> unset http_proxy
> make test
> make install
>
> Rgds - Angus
>
> References
>
> Visible links
> 1. http://localhost:13432/

> _______________________________________________
> List info: http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel


--

Request Tracker devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.