Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the WWW-Mechanize CPAN distribution.

Report information
The Basics
Id: 4643
Status: resolved
Priority: 0/
Queue: WWW-Mechanize

People
Owner: andy [...] petdance.com
Requestors: muenalan [...] cpan.org
Cc:
AdminCc:

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



Subject: cpan.testers.org Win32 issue forwarded
The shell globbing here doesnt work on win32 C:\Programme\Perl\bin\perl.exe -MExtUtils::Command::MM -e "test_harness(0, 'blib\lib', 'blib\arch')" t\*.t t\live\*.t After uncommenting the globbing at Makefile.pl: # test => { TESTS => join( " ", @tests ) }, it just fails one test t\mech-dump.............# Failed test (t\mech-dump.t at line 21) t\mech-dump.............NOK 1# got: 'GET file://V:/target-page [bob-the-form] # hl=en (hidden) # ie=ISO-8859-1 (hidden) # q= # btnG=Google Search (submit) # btnI=I'm Feeling Lucky (submit) # # ' # expected: 'GET file:/target-page [bob-the-form] # hl=en (hidden) # ie=ISO-8859-1 (hidden) # q= # btnG=Google Search (submit) # btnI=I'm Feeling Lucky (submit) # # ' Below the complete dump (of the globbing problem). Greetings, murat --- V:\.cpan\build\WWW-Mechanize-0.70>modinst Installing perl extension Do you want to install the mech-dump utility? [y] Writing Makefile for WWW::Mechanize Microsoft (R) Program Maintenance Utility Version 7.00.9466 Copyright (C) Microsoft Corporation. All rights reserved. C:\Programme\Perl\bin\perl.exe -MExtUtils::Command -e cp script/mech-dump blib\script\mech-dump pl2bat.bat blib\script\mech-dump C:\Programme\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t\*.t t\live\*.t t\*.........t\*.t does not exist t\live\*....t\live\*.t does not exist FAILED--2 test scripts could be run, alas--no output ever seen NMAKE : fatal error U1077: 'C:\Programme\Perl\bin\perl.exe' : return code '0x2' Stop. --- Summary of my perl5 (revision 5 version 8 subversion 0) configuration: Platform: osname=MSWin32, osvers=4.0, archname=MSWin32-x86-multi-thread uname='' config_args='undef' hint=recommended, useposix=true, d_sigaction=undef usethreads=undef use5005threads=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 -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX' , optimize='-MD -DNDEBUG -O1', cppflags='-DWIN32' ccversion='', gccversion='', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=10 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 -libpath:"C:\Programme\Perl\lib\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 wsock32.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 wsock32.lib mpr.lib winmm .lib version.lib odbc32.lib odbccp32.lib msvcrt.lib libc=msvcrt.lib, so=dll, useshrplib=yes, libperl=perl58.lib gnulibc_version='undef' Dynamic Linking: dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -libpath:"C:\Programme\Perl\lib\CORE" -machine:x86' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS Locally applied patches: ActivePerl Build 806 Built under MSWin32 Compiled at Apr 24 2003 20:37:33 @INC: C:/Programme/Perl/lib C:/Programme/Perl/site/lib .
[guest - Thu Dec 11 13:48:59 2003]: Show quoted text
> it just fails one test > > t\mech-dump.............# Failed test (t\mech-dump.t at line 21) > t\mech-dump.............NOK 1# got: 'GET file://V:/target- > page [bob-the-form] > # hl=en (hidden) > # ie=ISO-8859-1 (hidden) > # q= > # btnG=Google Search (submit) > # btnI=I'm Feeling Lucky (submit) > # > # ' > # expected: 'GET file:/target-page [bob-the-form]
Ahem, i do not have the [facultative] GET alias from the lib-wwwperl package. I dont like it. May be you should test if the file exists before going on with the test (Or just use a LWP code instead). Murat
Show quoted text
> Ahem, i do not have the [facultative] GET alias from the lib-wwwperl > package. I dont like it.
That's not what the GET refers to. It's the HTTP keyword.
This is fixed in 0.71_01 and above.