Skip Menu |

This queue is for tickets about the IPC-Run CPAN distribution.

Report information
The Basics
Id: 84276
Status: resolved
Priority: 0/
Queue: IPC-Run

People
Owner: Nobody in particular
Requestors: Jason_Singer [...] symantec.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: the test scripts need to be updated to account for Win32 'cmd.exe' command line parsing
Date: Thu, 28 Mar 2013 19:04:38 -0700
To: "me (crash.singer [...] gmail.com)" <crash.singer [...] gmail.com>
From: Jason Singer <Jason_Singer [...] symantec.com>
I encountered the testing failures trying to install: IPC-Run-0.92. I'm on Windows 7 x64 -- but running 32bit Perl that I compiled myself with VS 2008. The output from "perl -V" is at the end of the e-mail. My 'uname -a' output is: windows32 L-65186-P12 2.6.1 7601 i686-pc Intel unknown MinGW. (it's the gnu utility, also a 32bit process, so probably couldn't figure out the OS is x64) Essentially the bug happens when a dbl-quote character, ["], is used within an argument to the 'cmd.exe' interpreter. I was able to fix this by turning those dbl-quotes into the [qq()] quoting mechanism. For example, binmode.t line 43 changes from: my $emitter_script = q{ binmode STDOUT; print "Hello World\r\n" }; into: my $emitter_script = q{ binmode STDOUT; print qq*Hello World\r\n* }; I've attached a patch file that allows all tests to pass on Win32 when the interpreter is the often useless 'cmd.exe'. --neb Summary of my perl5 (revision 5 version 10 subversion 1) configuration: Platform: osname=MSWin32, osvers=6.1, archname=MSWin32-x86-multi-thread uname='' config_args='undef' hint=recommended, useposix=true, d_sigaction=undef useithreads=define, usemultiplicity=define useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=undef, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cl', ccflags ='-nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO', optimize='-MD -Zi -DNDEBUG -O1', cppflags='-DWIN32' ccversion='15.00.30729.01', gccversion='', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=8 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='__int64', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='link', ldflags ='-nologo -nodefaultlib -debug -opt:ref,icf -libpath:"c:\perl\ver\lib\MSWin32-x86-multi-thread\CORE" -machine:x86' libpth=\lib libs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib ws2_32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib perllibs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib ws2_32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib libc=msvcrt.lib, so=dll, useshrplib=true, libperl=perl510.lib gnulibc_version='' Dynamic Linking: dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -debug -opt:ref,icf -libpath:"c:\perl\ver\lib\MSWin32-x86-multi-thread\CORE" -machine:x86' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS PERL_MALLOC_WRAP PL_OP_SLAB_ALLOC USE_ITHREADS USE_LARGE_FILES USE_PERLIO Built under MSWin32 Compiled at Jan 8 2013 00:30:31 %ENV: PERL5_CPANPLUS_IS_RUNNING="41216" PERL5_CPAN_IS_RUNNING="41216" @INC: C:/perl/ver/lib/MSWin32-x86-multi-thread C:/perl/ver/lib C:/perl/site/ver/lib/MSWin32-x86-multi-thread C:/perl/site/ver/lib .

Message body is not shown because sender requested not to inline it.

Ticket migrated to github as https://github.com/toddr/IPC-Run/issues/51