perlbrew 版本是 0.7.3,OS X 版本是 10.10.2。在解决了locales 的问题后,我遇到了 groups.t 的问题:
Test Summary Report
-------------------
op/groups.t (Wstat: 0 Tests: 2 Failed: 1)
Failed test: 1
../ext/POSIX/t/posix.t (Wstat: 0 Tests: 66 Failed: 0)
TODO passed: 11
Files=1711, Tests=227048, 393 wallclock secs (15.98 usr 5.88 sys + 159.41 cusr 22.97 csys = 204.24 CPU)
Result: FAIL
Failed 1/1711 test programs. 1/227048 subtests failed.
make[2]: *** [_test_tty] Error 255
make[1]: *** [_test] Error 2
make: *** [test_harness] Error 2
不是 Perl 专家,任何帮助将不胜感激。谢谢!
编辑:
我已经手动运行了测试,并得到了这个输出:
Vladimirs-MacBook-Pro:perl-5.10.1 bermanlab$ ./perl t/op/groups.t
# groups = uid=504(bermanlab) gid=20(staff) groups=20(staff),701(com.apple.sharepoint.group.4),12(everyone),61(localaccounts),70(_www),79(_appserverusr),80(admin),81(_appserveradm),98(_lpadmin),401(com.apple.sharepoint.group.1),33(_appstore),100(_lpoperator),204(_developer),398(com.apple.access_screensharing),399(com.apple.access_ssh),403(com.apple.sharepoint.group.3),402(com.apple.sharepoint.group.2)
# groups=20(staff),701(com.apple.sharepoint.group.4),12(everyone),61(localaccounts),70(_www),79(_appserverusr),80(admin),81(_appserveradm),98(_lpadmin),401(com.apple.sharepoint.group.1),33(_appstore),100(_lpoperator),204(_developer),398(com.apple.access_screensharing),399(com.apple.access_ssh),403(com.apple.sharepoint.group.3),402(com.apple.sharepoint.group.2)
# g0 = 20(staff) 701(com.apple.sharepoint.group.4) 12(everyone) 61(localaccounts) 70(_www) 79(_appserverusr) 80(admin) 81(_appserveradm) 98(_lpadmin) 401(com.apple.sharepoint.group.1) 33(_appstore) 100(_lpoperator) 204(_developer) 398(com.apple.access_screensharing) 399(com.apple.access_ssh) 403(com.apple.sharepoint.group.3) 402(com.apple.sharepoint.group.2)
# g1 = staff com.apple.sharepoint.group.4 everyone localaccounts _www _appserverusr admin _appserveradm _lpadmin com.apple.sharepoint.group.1 _appstore _lpoperator _developer com.apple.access_screensharing com.apple.access_ssh com.apple.sharepoint.group.3 com.apple.sharepoint.group.2
1..2
# pwgid = 20, pwgnam = staff
# gr = com.apple.sharepoint.group.4 everyone localaccounts _www _appserverusr admin _appserveradm _lpadmin com.apple.sharepoint.group.1 _appstore _lpoperator _developer com.apple.access_screensharing com.apple.access_ssh com.apple.sharepoint.group.3
#gr1 is <_appserveradm _appserverusr _appstore _developer _lpadmin _lpoperator _www admin com.apple.access_screensharing com.apple.access_ssh com.apple.sharepoint.group.1 com.apple.sharepoint.group.3 com.apple.sharepoint.group.4 everyone localaccounts>
#gr2 is <_appserveradm _appserverusr _appstore _developer _lpadmin _lpoperator _www admin com.apple.access_screensharing com.apple.access_ssh com.apple.sharepoint.group.1 com.apple.sharepoint.group.2 com.apple.sharepoint.group.3 com.apple.sharepoint.group.4 everyone localaccounts>
not ok 1
ok 2