0

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

#!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.
4

1 回答 1

1

退出状态 139 为 128 + 11,表示信号 11,即 SIGSEGV,表示分段错误

于 2012-11-26T13:13:38.083 回答