On Wed, 31 Jan 2007, Nilson Santos Figueiredo Junior wrote:
On 1/31/07, Jess Robinson <[EMAIL PROTECTED]> 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 "\".
Ahh! I didnt see where, the first time.. Fixed, I hope, please test
-current.
Jess
_______________________________________________
List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
Wiki: http://dbix-class.shadowcatsystems.co.uk/
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/
Searchable Archive: http://www.mail-archive.com/[email protected]/