Subject: | xs_version.t |
Hello and thanks for PathTools,
I just wanted to comment on:
Changes
3.28_03 - Mon Oct 27 22:12:11 2008
- In Cwd.pm, pass the un-munged $VERSION to XSLoader/DynaLoader,
otherwise development releases fail tests on Win32.
Had the same problem on VMS with development releases, thanks for
fixing it, here is a test:
xs_version.t
#!./perl -w
use strict;
use Test::More tests=>1;
use File::Spec;
$SIG{__DIE__} = sub {
ok(0,'__DIE__ sub called');
diag @_;
exit;
};
File::Spec->rel2abs('');
ok(1,'__DIE__ sub not called');
Before:
1..1
not ok 1 - __DIE__ sub called
# Failed test '__DIE__ sub called'
# at xs_version.t line 9.
# Cwd object version 3.28_01 does not match bootstrap parameter 3.2801
at /perl_root/lib/VMS_IA64/5_8_7/XSLoader.pm line 97.
# Looks like you failed 1 test of 1.
%SYSTEM-F-ABORT, abort
After:
1..1
ok 1 - __DIE__ sub not called
Cheers,
Peter (Stig) Edwards