From: Lars T. <la...@th...> - 2006-10-15 16:10:38
|
Mike Schilli wrote: > * (ms) Autocorrecting rootlogger/rootLogger typo The test fails under perl 5.005_03: --cut-- not ok 14 - Autocorrecting rootLogger/rootlogger typo # Failed test 'Autocorrecting rootLogger/rootlogger typo' # in t/004Config.t at line 235. # got: undef # expected: '' --cut-- The following patch fixes this, and works correctly on newer perls as well (tested on 5.6.2 and 5.8.8): --cut-- --- t/004Config.t.orig Sun Oct 15 17:57:11 2006 +++ t/004Config.t Sun Oct 15 18:03:08 2006 @@ -203,7 +203,7 @@ ###################################################################### open STDERR, ">$TMP_FILE"; open IN, "<$TMP_FILE" or die "Cannot open $TMP_FILE"; -sub readwarn { return scalar <IN>; } +sub readwarn { return scalar <IN> || ''; } END { close IN } --cut-- /Lars |