On 7.11.2011 10:41, kmx wrote:
Hi,
I have experienced the following failure on my Windows 7 box:
t/04-config.t .............. 2/298
# Failed test '->bin_shell defaults ok'
# at t/04-config.t line 46.
# got: 'Z:\PORTAB~1\cmd.exe'
# expected: 'cmd.exe'
# Looks like you failed 1 test of 298.
t/04-config.t .............. Dubious, test returned 1 (wstat 256, 0x100)
I expect 'Z:\PORTAB~1\cmd.exe' to be a short form of
'z:\portable4testing\cmd.exe' which is of course a non existing file
(z:\portable4testing is where I have unpacked portable strawberry perl).
My further investigation revealed that the failure is related to
Padre::Portable stuff, namely sub code() in lib\Padre\Config\Setting.pm
The thing is that config item bin_shell (which is normally 'cmd.exe') is
transformed via Padre::Portable::thaw('cmd.exe') (see section under the
comment "# Auto-translating accessors for Portable mode") which turns
'cmd.exe' into 'z:\portable4testing\cmd.exe'.
--
kmx
_______________________________________________
Padre-dev mailing list
Padre-dev@perlide.org
http://mail.perlide.org/mailman/listinfo/padre-dev