List Info

Thread: Fix ext/Win32/t/Unicode.t test bug




Fix ext/Win32/t/Unicode.t test bug
user name
2007-09-05 09:59:49
The attached patch fixes the following test bug:

ext/Win32/t/Unicode.........................................
..Can't
locate utf8.pm in INC (INC contains: ../lib) at
../ext/Win32/t/Unicode.t line 63.
BEGIN failed--compilation aborted.
FAILED--expected 12 tests, saw 6

  
Re: Fix ext/Win32/t/Unicode.t test bug
user name
2007-09-05 10:16:30
On 05/09/07, Jerry D. Hedden <jdheddencpan.org> wrote:
> The attached patch fixes the following test bug:
>
>
ext/Win32/t/Unicode.........................................
..Can't
> locate utf8.pm in INC (INC contains: ../lib) at
> ../ext/Win32/t/Unicode.t line 63.

Thanks, applied as #31796 (although I'm not sure why it
works)

Re: Fix ext/Win32/t/Unicode.t test bug
user name
2007-09-05 10:23:08
On 9/5/07, Rafael Garcia-Suarez <rgarciasuarezgmail.com> wrote:
> On 05/09/07, Jerry D. Hedden <jdheddencpan.org> wrote:
> > The attached patch fixes the following test bug:
> >
> >
ext/Win32/t/Unicode.........................................
..Can't
> > locate utf8.pm in INC (INC contains: ../lib) at
> > ../ext/Win32/t/Unicode.t line 63.
>
> Thanks, applied as #31796 (although I'm not sure why it
works)

The Win32::SetCwd causes INC (which contains ../lib)
to be "bad".  It
appears that Win32::GetLongPathName needs utf8.pm, but
couldn't find
it after the dir change.  The patch grabs the values of
Win32::GetCwd
needed for the test, changes back to the original dir, and
then does
the test.

Re: Fix ext/Win32/t/Unicode.t test bug
user name
2007-09-05 13:46:37
> The attached patch fixes the following test bug:
>
>
ext/Win32/t/Unicode.........................................
..Can't
> locate utf8.pm in INC (INC contains: ../lib) at
> ../ext/Win32/t/Unicode.t line 63.

> Thanks, applied as #31796 (although I'm not sure why it
works)

> The Win32::SetCwd causes INC (which contains ../lib)
to
> be "bad".  It appears that
Win32::GetLongPathName needs
> utf8.pm, but couldn't find it after the dir change. 
The
> patch grabs the values of Win32::GetCwd needed for the
> test, changes back to the original dir, and then does
the
> test.

Slight correction.  It's not Win32::GetLongPathName that
needs utf8.pm, but rather Test.pm when it tries to complain
about the test failing as the paths involved have Unicode
chars.

[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )