我试图安装Mojolicious 1.90,但没有通过t/mojo/home.t测试。
t/mojo/home.t .............................. 1/5
# Failed test 'right path detected'
# at t/mojo/home.t line 27.
# Structures begin differing at:
# $got->[3] = '.cpan'
# $expected->[3] = 'public_html'
# Failed test 'right path detected'
# at t/mojo/home.t line 33.
# Structures begin differing at:
# $got->[3] = 'public_html'
# $expected->[3] = '.cpan'
# Failed test 'right path detected'
# at t/mojo/home.t line 39.
# Structures begin differing at:
# $got->[3] = '.cpan'
# $expected->[3] = 'public_html'
# Looks like you failed 3 tests of 5.
t/mojo/home.t .............................. Dubious, test returned 3 (wstat 768, 0x300)这是一个bug,或者可能是其他错误的东西?
在版本1.92中,我得到了相同的错误:
t/mojo/home.t .............................. 1/5
# Failed test 'right path detected'
# at t/mojo/home.t line 27.
# Structures begin differing at:
# $got->[3] = 'Mojolicious-1.92'
# $expected->[3] = 'public_html'
# Failed test 'right path detected'
# at t/mojo/home.t line 33.
# Structures begin differing at:
# $got->[3] = 'public_html'
# $expected->[3] = 'Mojolicious-1.92'
# Failed test 'right path detected'
# at t/mojo/home.t line 39.
# Structures begin differing at:
# $got->[3] = 'Mojolicious-1.92'
# $expected->[3] = 'public_html'
# Looks like you failed 3 tests of 5.
t/mojo/home.t .............................. Dubious, test returned 3 (wstat 768, 0x300)发布于 2011-08-28 17:16:54
我已经找到了原因,为什么家庭测试没有通过-它是设置(我的.bashrc中的export MOJO_HOME=/home/me/public_html)。
发布于 2011-08-26 16:16:35
尝试获取文件并自己运行测试:
wget "http://search.cpan.org/CPAN/authors/id/S/SR/SRI/Mojolicious-1.92.tar.gz"
tar -xzf Mojolicious-1.92.tar.gz
cd Mojolicious-1.92
perl Makefile.PL
# Checking if your kit is complete...
# Looks good
# Writing Makefile for Mojolicious
make testhttps://stackoverflow.com/questions/7194666
复制相似问题