为什么BAD和Pearl版本5.12.0 - 5.12.2的负载测试失败?

时间:2012-11-26 13:09:38

标签: perl testing module

这个测试(t / 00-load.t)因OS * BSD和Perl版本从5.12.0到5.12.2而失败的原因是什么?

#!perl -T

use 5.010001;
use strict;
use warnings;
use Test::More tests => 1;

BEGIN {
    use_ok( 'Term::Choose' ) || print "Bail out!\n";
}

diag( "Testing Term::Choose $Term::Choose::VERSION, Perl $], $^X" );

错误:

t/00-load.t               (Wstat: 139 Tests: 0 Failed: 0)
  Non-zero wait status: 139
  Parse errors: Bad plan.  You planned 1 tests but ran 0.

1 个答案:

答案 0 :(得分:1)

退出状态139是128 + 11,意思是信号11,即SIGSEGV,表示segmentation fault