File-Similars v1.7 Perl 5 v5.15.0 MSWin32-x86-multi-thread

Status
Pass
From
Serguei Trouchelle (STRO)
Dist
File-Similars v1.7
Platform
Perl 5 v5.15.0 MSWin32-x86-multi-thread
Date
2011-06-29 11:05:07
ID
021fe14c-7522-1014-a6d0-e8d02dbe6281
This distribution has been tested as part of the CPAN Testers
project, supporting the Perl programming language.  See
http://wiki.cpantesters.org/ for more information or email
questions to cpan-testers-discuss@perl.org


--
Dear Tong Sun,

This is a computer-generated report for File-Similars-1.7
on perl 5.15.0, created by CPAN-Reporter-1.1902.

Thank you for uploading your work to CPAN.  Congratulations!
All tests were successful.

Sections of this report:

    * Tester comments
    * Program output
    * Prerequisites
    * Environment and other context

------------------------------
TESTER COMMENTS
------------------------------

Additional comments from tester:

this report is from an automated smoke testing program
and was not reviewed by a human for accuracy

------------------------------
PROGRAM OUTPUT
------------------------------

Output from 'C:\bin\dev\psdk\2003\Bin\nmake.EXE test':


Microsoft (R) Program Maintenance Utility   Version 7.00.8882
Copyright (C) Microsoft Corp 1988-2000. All rights reserved.

	C:\home\stro\perl\perl5150\bin\perl5.15.0.exe "-Iblib\lib" "-Iblib\arch" test.pl
1..4 todo 1;
# Running under perl version 5.015000 for MSWin32
# Current time local: Wed Jun 29 04:03:58 2011
# Current time GMT:   Wed Jun 29 11:03:58 2011
# Using Test.pm version 1.25
# Testing File::Searcher::Similars version 1.27
'LANG' is not recognized as an internal or external command,
operable program or batch file.

== Testing 1, files under test/ subdir:

  9 test/(eBook) GNU - Python Standard Library 2001.pdf
  3 test/CardLayoutTest.java
  5 test/GNU - 2001 - Python Standard Library.pdf
  4 test/GNU - Python Standard Library (2001).rar
  9 test/LayoutTest.java
  3 test/PopupTest.java
  2 test/Python Standard Library.zip
  5 test/TestLayout.java
'LANG' is not recognized as an internal or external command,
operable program or batch file.
not ok 1
# Test 1 got: "" (test.pl at line 55 *TODO*)
#   Expected: "  9 test/(eBook) GNU - Python Standard Library 2001.pdf\n  3 test/CardLayoutTest.java\n  5 test/GNU - 2001 - Python Standard Library.pdf\n  4 test/GNU - Python Standard Library (2001).rar\n  9 test/LayoutTest.java\n  3 test/PopupTest.java\n  2 test/Python Standard Library.zip\n  5 test/TestLayout.java\n"
#   Lines 1-1 are missing:
#    - "  9 test/(eBook) GNU - Python Standard Library 2001.pdf\n"
#    - "  3 test/CardLayoutTest.java\n"
#    - "  5 test/GNU - 2001 - Python Standard Library.pdf\n"
#    - "  4 test/GNU - Python Standard Library (2001).rar\n"
#    - "  9 test/LayoutTest.java\n"
#    - "  3 test/PopupTest.java\n"
#    - "  2 test/Python Standard Library.zip\n"
#    - "  5 test/TestLayout.java\n"
#  test.pl line 55 is: ok($strs,$result0) || print $strs;

Note:

- The fileSimilars.pl script will pick out similar files from them in next test.
- Let's assume that the number represent the file size in KB.

== Testing 2 result should be:

## =========
           3 'CardLayoutTest.java' 'test/'
           5 'TestLayout.java' 'test/'

## =========
           4 'GNU - Python Standard Library (2001).rar' 'test/'
           5 'GNU - 2001 - Python Standard Library.pdf' 'test/'
not ok 2
# Test 2 got: "" (test.pl at line 76)
#   Expected: "\n## =========\n           3 'CardLayoutTest.java' 'test/'\n           5 'TestLayout.java' 'test/'\n\n## =========\n           4 'GNU - Python Standard Library (2001).rar' 'test/'\n           5 'GNU - 2001 - Python Standard Library.pdf' 'test/'\n"
#   Lines 1-1 are missing:
#    - "\n"
#    - "## =========\n"
#    - "           3 'CardLayoutTest.java' 'test/'\n"
#    - "           5 'TestLayout.java' 'test/'\n"
#    - "\n"
#    - "## =========\n"
#    - "           4 'GNU - Python Standard Library (2001).rar' 'test/'\n"
#    - "           5 'GNU - 2001 - Python Standard Library.pdf' 'test/'\n"
#  test.pl line 76 is: ok($result1,$result0) || print $result1;

Note:

- There are 2 groups of similar files picked out by the script.
  The second group makes more sense.
- The similar files are picked because their file names look similar.
- However, the file size plays an important role as well.
- There are 2 files in the second similar files group.
- The file 'Python Standard Library.zip' is not considered to be similar to
  the group because its size is not similar to the group.

== Testing 3, if Python.zip is bigger, result should be:

## =========
           3 'CardLayoutTest.java' 'test/'
           5 'TestLayout.java' 'test/'

## =========
           4 'Python Standard Library.zip' 'test/'
           4 'GNU - Python Standard Library (2001).rar' 'test/'
           5 'GNU - 2001 - Python Standard Library.pdf' 'test/'
'LANG' is not recognized as an internal or external command,
operable program or batch file.
not ok 3
# Test 3 got: "" (test.pl at line 104)
#   Expected: "\n## =========\n           3 'CardLayoutTest.java' 'test/'\n           5 'TestLayout.java' 'test/'\n\n## =========\n           4 'Python Standard Library.zip' 'test/'\n           4 'GNU - Python Standard Library (2001).rar' 'test/'\n           5 'GNU - 2001 - Python Standard Library.pdf' 'test/'\n"
#   Lines 1-1 are missing:
#    - "\n"
#    - "## =========\n"
#    - "           3 'CardLayoutTest.java' 'test/'\n"
#    - "           5 'TestLayout.java' 'test/'\n"
#    - "\n"
#    - "## =========\n"
#    - "           4 'Python Standard Library.zip' 'test/'\n"
#    - "           4 'GNU - Python Standard Library (2001).rar' 'test/'\n"
#    - "           5 'GNU - 2001 - Python Standard Library.pdf' 'test/'\n"
#  test.pl line 104 is: ok($result1,$result0) || print $result1;

Note:

- There are 3 files in the second similar files group.
- The file 'Python Standard Library.zip' is now in the 2nd similar files
  group because its size is now similar to the group.

== Testing 4, if Python.zip is even bigger, result should be:

## =========
           3 'CardLayoutTest.java' 'test/'
           5 'TestLayout.java' 'test/'

## =========
           4 'GNU - Python Standard Library (2001).rar'       'test/'
           5 'GNU - 2001 - Python Standard Library.pdf'       'test/'
           6 'Python Standard Library.zip'                    'test/'
           9 '(eBook) GNU - Python Standard Library 2001.pdf' 'test/'
'LANG' is not recognized as an internal or external command,
operable program or batch file.
not ok 4
# Test 4 got: "" (test.pl at line 129)
#   Expected: "\n## =========\n           3 'CardLayoutTest.java' 'test/'\n           5 'TestLayout.java' 'test/'\n\n## =========\n           4 'GNU - Python Standard Library (2001).rar'       'test/'\n           5 'GNU - 2001 - Python Standard Library.pdf'       'test/'\n           6 'Python Standard Library.zip'                    'test/'\n           9 '(eBook) GNU - Python Standard Library 2001.pdf' 'test/'\n"
#   Lines 1-1 are missing:
#    - "\n"
#    - "## =========\n"
#    - "           3 'CardLayoutTest.java' 'test/'\n"
#    - "           5 'TestLayout.java' 'test/'\n"
#    - "\n"
#    - "## =========\n"
#    - "           4 'GNU - Python Standard Library (2001).rar'       'test/'\n"
#    - "           5 'GNU - 2001 - Python Standard Library.pdf'       'test/'\n"
#    - "           6 'Python Standard Library.zip'                    'test/'\n"
#    - "           9 '(eBook) GNU - Python Standard Library 2001.pdf' 'test/'\n"
#  test.pl line 129 is: ok($result1,$result0) || print $result1;

Note:

- There are 4 files in the second similar files group.
- The file 'Python Standard Library.zip' is still in the group.
- But this time, because it is also considered to be similar to the .pdf
  file (since their size are now similar, 6 vs 9), a 4th file the .pdf
  is now included in the 2nd group.
- If the size of file 'Python Standard Library.zip' is 12(KB), then the
  second similar files group will be split into two. Do you know why and
  which files each group will contain?

------------------------------
PREREQUISITES
------------------------------

Prerequisite modules loaded:

requires:

    Module              Need Have   
    ------------------- ---- -------
    Class::Accessor     0    0.34   
    Test::More          0    0.98   

build_requires:

    Module              Need Have   
    ------------------- ---- -------
    ExtUtils::MakeMaker 0    6.57_05


------------------------------
ENVIRONMENT AND OTHER CONTEXT
------------------------------

Environment variables:

    AUTOMATED_TESTING = 1
    COMSPEC = C:\Windows\system32\cmd.exe
    INCLUDE = C:\bin\dev\psdk\2003\Include\.;C:\bin\dev\vc\VC98\atl\include;C:\bin\dev\vc\VC98\mfc\include;C:\bin\dev\vc\VC98\include
    LIB = C:\bin\dev\psdk\2003\Lib\.;C:\bin\dev\vc\VC98\mfc\lib;C:\bin\dev\vc\VC98\lib
    NUMBER_OF_PROCESSORS = 2
    PATH = C:\bin\apps\far\;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\bin\sys\msys\bin\;c:\bin\graph\imagemagick-6.5.1-q16;C:\bin\dev\tortoiseSVN;C:\bin\dev\perl\site\bin;C:\bin\dev\perl\bin;c:\bin\run;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\bin\sys\unixutils;C:\bin\dev\tortoiseSVN\bin;C:\bin\sys\sysinternals;C:\bin\db\oracle\instantclient_11_1;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;\;C:\usr\bin;C:\bin\dev\psdk\2003\Bin\.;C:\bin\dev\psdk\2003\Bin\WinNT\.;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Windows Live\Shared;C:\bin\dev\vc\Common\Tools\WinNT;C:\bin\dev\vc\Common\MSDev98\Bin;C:\bin\dev\vc\Common\Tools;C:\bin\dev\vc\VC98\bin;C:\bin\db\postgresql\bin\;C:\bin\dev\psdk\2003\Bin\.;C:\bin\graph\ImageConverterPlus;C:\bin\graph\ImageConverterPlus\Microsoft.VC90.CRT;C:\bin\graph\ImageConverterPlus\Microsoft.VC90.MFC;C:\bin\sys\smartmontools\bin;C:\bin\comm\Nmap
    PERL5LIB = 
    PERL5OPT = 
    PERL5_CPANPLUS_IS_RUNNING = 3396
    PERL5_CPAN_IS_RUNNING = 3396
    PERL5_CPAN_IS_RUNNING_IN_RECURSION = 5436,3396
    PERL_CR_SMOKER_CURRENT = File-Similars-1.7
    PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
    PERL_MM_USE_DEFAULT = 1
    PROCESSOR_IDENTIFIER = x86 Family 6 Model 15 Stepping 11, GenuineIntel
    TEMP = C:\Windows\Temp
    TMPDIR = C:\Windows\Temp

Perl special variables (and OS-specific diagnostics, for MSWin32):

    $^X = C:\home\stro\perl\perl5150\bin\perl5.15.0.exe
    $UID/$EUID = 0 / 0
    $GID = 0
    $EGID = 0
    Win32::GetOSName = WinVista
    Win32::GetOSVersion = Service Pack 2, 6, 0, 6002, 2, 2, 0, 768, 1
    Win32::FsType = NTFS
    Win32::IsAdminUser = 1

Perl module toolchain versions installed:

    Module              Have    
    ------------------- --------
    CPAN                1.9600  
    Cwd                 3.36    
    ExtUtils::CBuilder  0.280204
    ExtUtils::Command   1.17    
    ExtUtils::Install   1.56    
    ExtUtils::MakeMaker 6.57_05 
    ExtUtils::Manifest  1.58    
    ExtUtils::ParseXS   2.2210  
    File::Spec          3.33    
    Module::Build       0.3800  
    Module::Signature   n/a     
    Test::Harness       3.23    
    Test::More          0.98    
    YAML                0.73    
    YAML::Syck          n/a     
    version             0.88    


--

Summary of my perl5 (revision 5 version 15 subversion 0) configuration:
   
  Platform:
    osname=MSWin32, osvers=6.0, 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  -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -D_USE_32BIT_TIME_T',
    optimize='-MD -Zi -DNDEBUG -O1',
    cppflags='-DWIN32'
    ccversion='12.00.8804', 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:\home\stro\perl\perl5150\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 ws2_32.lib mpr.lib winmm.lib  version.lib odbc32.lib odbccp32.lib comctl32.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 comctl32.lib msvcrt.lib
    libc=msvcrt.lib, so=dll, useshrplib=true, libperl=perl515.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:\home\stro\perl\perl5150\lib\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 PERL_PRESERVE_IVUV PL_OP_SLAB_ALLOC
                        USE_ITHREADS USE_LARGE_FILES USE_LOCALE
                        USE_LOCALE_COLLATE USE_LOCALE_CTYPE
                        USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF
  Built under MSWin32
  Compiled at Jun 20 2011 21:41:01
  %ENV:
    PERL5_CPANPLUS_IS_RUNNING="3396"
    PERL5_CPAN_IS_RUNNING="3396"
    PERL5_CPAN_IS_RUNNING_IN_RECURSION="5436,3396"
    PERL_CR_SMOKER_CURRENT="File-Similars-1.7"
    PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
    PERL_MM_USE_DEFAULT="1"
  @INC:
    C:/home/stro/perl/perl5150/site/lib
    C:/home/stro/perl/perl5150/lib
    .