Welcome! Log In Create A New Profile

Advanced

test-nginx doesn't work

January 13, 2012 04:52AM
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?

# ll test
总用量 60
drwxr-xr-x 5 root root 4096 2012-01-01 08:00 ./
drwxr-xr-x 5 simon simon 4096 2012-01-13 17:31 ../
-rw-r--r-- 1 root root 8018 2012-01-01 08:00 Changes
-rw-r--r-- 1 root root 298 2012-01-01 08:00 .gitignore
drwxr-xr-x 4 root root 4096 2012-01-01 08:00 inc/
drwxr-xr-x 3 root root 4096 2012-01-01 08:00 lib/
-rw-r--r-- 1 root root 758 2012-01-01 08:00 Makefile.PL
-rw-r--r-- 1 root root 749 2012-01-01 08:00 MANIFEST
-rw-r--r-- 1 root root 303 2012-01-01 08:00 MANIFEST.SKIP
-rw-r--r-- 1 root root 867 2012-01-01 08:00 META.yml
-rw-r--r-- 1 root root 9851 2012-01-01 08:00 README
drwxr-xr-x 2 root root 4096 2012-01-01 08:00 t/


# prove -r t/apply_moves.t
t/apply_moves.t .. Can't locate Test/Nginx/Socket.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at t/apply_moves.t line 2.
BEGIN failed--compilation aborted at t/apply_moves.t line 2.
t/apply_moves.t .. Dubious, test returned 2 (wstat 512, 0x200)
No subtests run

Test Summary Report
-------------------
t/apply_moves.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
Files=1, Tests=0, 0 wallclock secs ( 0.02 usr + 0.01 sys = 0.03 CPU)
Result: FAIL

--
Best Regard.
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: 297
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