2011-04-13 58 views
1

未通過測試,不知道如何繞過它。HTTP :: Server :: Simple不會安裝

# Failed test 'Environment - REMOTE_ADDR' 
# at t/04cgi.t line 64. 
#     'HTTP/1.0 200 OK 
# Content-Type: text/html 
# Content-Length: 27 
# 
# REMOTE_ADDR: 17x.x.x.x' 
#  doesn't match '/REMOTE_ADDR: 127.0.0.1/' 
t/04cgi.t .......... 19/23 # Looks like you failed 1 test of 23. 
t/04cgi.t .......... Dubious, test returned 1 (wstat 256, 0x100) 
Failed 1/23 subtests 

顯然環境變量設置爲VPS的主機IP;不是127.0.0.1?

回答

0

force安裝步驟。

要找出測試失敗的原因,請單擊調試器。有趣的部分是HTTP::Server::Simple::lookup_localhost。也許你的/etc/hosts文件是frobnitzed。