Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the MooseX-App CPAN distribution.

Report information
The Basics
Id: 83242
Status: resolved
Priority: 0/
Queue: MooseX-App

People
Owner: Nobody in particular
Requestors: KENTNL [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.15
Fixed in: (no value)



Subject: Fails tests due to UTF8 miss-match.
t/05_extended.t ........ 8/9 Wide character in print at /tmp/portage/dev-perl-MooseX-App-1.150.0/work/MooseX-App-1.15/t/example/../testlib/Test03/SomeCommand.pm line 28.
   
    #   Failed test 'Encoded output'
    #   at t/05_extended.t line 74.
    #          got: 'RUN:an��ther t��st:t��st m��re'
    #     expected: 'RUN:anöther täst:töst möre'
    # Looks like you failed 1 test of 1.

Show quoted text
#   Failed test 'Test wrapper script encoding'
#   at t/05_extended.t line 75.
# Looks like you failed 1 test of 9.
t/05_extended.t ........ Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/9 subtests

It might help to understand that this bug occurring is incredibly dependent on %ENV values, and tested,

 

LANG= LC_CTYPE= LC_ALL=C prove -bvr t/05_extended.t     # causes the failure

LANG= LC_CTYPE= LC_ALL=en_US.UTF-8 prove -bvr t/05_extended.t    # suppresses the failure

LANG= LC_CTYPE=C LC_ALL= prove -bvr t/05_extended.t    # causes failure

LANG= LC_CTYPE=en_US.UTF-8 LC_ALL= prove -bvr t/05_extended.t  # suppresses failure

 

 

 

On 2013-02-10 06:21:50, KENTNL wrote:

Show quoted text
> t/05_extended.t ........ 8/9 Wide character in print at
> /tmp/portage/dev-perl-MooseX-App-1.150.0/work/MooseX-App-
> 1.15/t/example/../testlib/Test03/SomeCommand.pm
> line 28.
>
> # Failed test 'Encoded output'
> # at t/05_extended.t line 74.
> # got: 'RUN:an��ther t��st:t��st m��re'
> # expected: 'RUN:anöther täst:töst möre'
> # Looks like you failed 1 test of 1.
>
> # Failed test 'Test wrapper script encoding'
> # at t/05_extended.t line 75.
> # Looks like you failed 1 test of 9.
> t/05_extended.t ........ Dubious, test returned 1 (wstat 256, 0x100)
> Failed 1/9 subtests


Should be fixed in 1.16