[Dbix-class] Re: Announce: DBIx-Class-0.07999_02

Nilson Santos Figueiredo Junior acid06 at gmail.com
Wed Jan 31 13:07:46 GMT 2007


On 1/31/07, Jess Robinson <castaway at desert-island.demon.co.uk> wrote:
> Can you determine the exact problem there please? I guess its
> t/94versioning.t ? I can't see where that cares though, doesnt Win32
> perl accept / separated paths?

This same issue has been previously reported to mst through IRC (then
he proceeded to shout something like "castaway, your crap isn't cross
platform", but you were probably away at the moment)... I guess
should've posted this on the list instead.

The exact issue found when testing is:

t/94versioning.............................NOK 2#   Failed test 'Filename creati
on working'
#   in t/94versioning.t at line 26.
#          got: 't\var\DBICVersion-Schema-1.0-SQLite.sql'
#     expected: 't/var/DBICVersion-Schema-1.0-SQLite.sql'

The way to fix it should be pretty obvious, i.e., use something like
File::Spec to build the pathname or, instead of checking for explicit
equality, try a regex match checking for either "/" or "\".

-Nilson Santos F. Jr.



More information about the Dbix-class mailing list