Welcome! Log In Create A New Profile

Advanced

Re: test-nginx doesn't work

agentzh
January 13, 2012 05:58AM
On Fri, Jan 13, 2012 at 5:52 PM, bigplum <nginx-forum@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

Regards,
-agentzh

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

test-nginx doesn't work

bigplum January 13, 2012 04:52AM

Re: test-nginx doesn't work

Piotr Sikora January 13, 2012 05:00AM

Re: test-nginx doesn't work

agentzh January 13, 2012 05:58AM

Re: test-nginx doesn't work

bigplum January 16, 2012 10:44PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 321
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready