atom feed4 messages in ru.sysoev.nginxRe: test-nginx doesn't work
FromSent OnAttachments
bigplumJan 13, 2012 1:51 am 
Piotr SikoraJan 13, 2012 1:57 am 
agentzhJan 13, 2012 2:56 am 
bigplumJan 16, 2012 7:44 pm 
Subject:Re: test-nginx doesn't work
From:agentzh (agen@gmail.com)
Date:Jan 13, 2012 2:56:35 am
List:ru.sysoev.nginx

On Fri, Jan 13, 2012 at 5:52 PM, bigplum <ngin@nginx.us> wrote:

I've put test-nginx into a test directory,  but it shows can't locate socket.pm. Do I need to install TEST::NGINX into perl lib directory?

You need to

1. install Test::Nginx into your perl installation by running the following commands on shell:

perl Makefile.PL make make install

In case that you have multiple perl installations in your system, please ensure that you're using the right perl.

2. specify the location of Test::Nginx's lib/ directory in your "prove" command line (just as Piotr Sikora has pointed out), that is

prove -I/path/to/Test-Nginx/lib -r t