tokuhirom / Test-Kantan

Other
14 stars 3 forks source link

t/01_simple.t fails when $ENV{LANG} is C (workaround patch included) #8

Open hkoba opened 10 years ago

hkoba commented 10 years ago

済みません、LANG=C の時にテストがこけることに気づいてしまいました。 (これの何が問題かというと、例えば rpmbuild でパッケージング出来なくなるのです) お時間有れば、対処頂ければ有難いです。

ひとまず、回避パッチを送らせていただきます。よろしくお願いします。

--- t/01_simple.t.orig 2014-09-12 15:07:07.000000000 +0900 +++ t/01_simple.t 2014-09-12 15:08:08.000000000 +0900 @@ -7,6 +7,8 @@ use t::Util; use Text::Diff;

+plan skip_all => "LANG is C" if ($ENV{LANG} || 'C') eq 'C'; + for my $file (sort <eg/*.t>) { for my $reporter (qw(Spec TAP)) { for my $power (qw(0 1)) {

tokuhirom commented 10 years ago

LANG=C でも再現しませんね。。何か他の要因な気がします。

hkoba commented 10 years ago

Reply ありがとうございます。なんと、再現しませんでしたか…済みませんでした。

(RedHat 系の) rpmbuild が設定する諸々の他の要素の影響かもしれませんね。 こちらでもう少し状況を絞り込んでみます。

ありがとうございました。