Report for File-Find-Similars-2.04.1

Back
From: metabase:user:b53c7f44-4c0e-11e4-9ced-a04ade49192c
Subject: PASS File-Find-Similars-2.04.1 v5.8.9 GNU/Linux
Date: 2014-11-04T04:06:25Z

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-Find-Similars-2.04.1
on perl 5.8.9, created by CPAN-Reporter-1.2011.

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 '/usr/bin/make test':

PERL_DL_NONLAZY=1 "/opt/perl430-27-O0-5.8.9/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
# Testing File::Find::Similars 2.04, Perl 5.008009, /opt/perl430-27-O0-5.8.9/bin/perl
t/00-load.t .. ok
t/pod.t ...... ok
All tests successful.
Files=2, Tests=7,  1 wallclock secs ( 0.10 usr  0.02 sys +  0.76 cusr  0.06 csys =  0.94 CPU)
Result: PASS
PERL_DL_NONLAZY=1 "/opt/perl430-27-O0-5.8.9/bin/perl" "-Iblib/lib" "-Iblib/arch" test.pl
1..5 todo 2;
# Running under perl version 5.008009 for linux
# Current time local: Mon Nov  3 20:06:19 2014
# Current time GMT:   Tue Nov  4 04:06:19 2014
# Using Test.pm version 1.26
# Testing File::Find::Similars version 2.04

== Testing 1, test.tgz file content:

test/
test/Audio Book - The Grey Coloured Bunnie.mp3
test/GNU - Python Standard Library (2001).rar
test/PopupTest.java
test/(eBook) GNU - Python Standard Library 2001.pdf
test/Python Standard Library.zip
test/GNU - 2001 - Python Standard Library.pdf
test/LayoutTest.java
test/ColoredGrayBunny.ogg
ok 1

== Testing 2, files under test/ subdir:

  9 test/(eBook) GNU - Python Standard Library 2001.pdf
  3 test/Audio Book - The Grey Coloured Bunnie.mp3
  5 test/ColoredGrayBunny.ogg
  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
ok 2 # (test.pl at line 83 TODO?!)

Note:

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

== Testing 3 result should be:

## =========
           3 'Audio Book - The Grey Coloured Bunnie.mp3' 'test/'
           5 'ColoredGrayBunny.ogg'                      'test/'

## =========
           4 'GNU - Python Standard Library (2001).rar' 'test/'
           5 'GNU - 2001 - Python Standard Library.pdf' 'test/'
ok 3

Note:

- There are 2 groups of similar files picked out by the script.
- The similar files are picked because their file names look similar.
  Note that the first group looks different and spells differently too,
  which means that the script is versatile enough to handle file names that
  don't have space in it, and robust enough to deal with spelling mistakes.
- Apart from the file name, the file size plays an important role as well.
- There are 2 files in the second similar files group, the book 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 4, if Python.zip is bigger, result should be:

## =========
           4 'Python Standard Library.zip' 'test/'
           4 'GNU - Python Standard Library (2001).rar' 'test/'
           5 'GNU - 2001 - Python Standard Library.pdf' 'test/'

## =========
           3 'Audio Book - The Grey Coloured Bunnie.mp3' 'test/'
           5 'ColoredGrayBunny.ogg'                      'test/'
not ok 4
# Test 4 got: "\n## =========\n           3 'Audio Book - The Grey Coloured Bunnie.mp3' 'test/'\n           5 'ColoredGrayBunny.ogg'                      '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 at line 136)
#   Expected: "\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\n## =========\n           3 'Audio Book - The Grey Coloured Bunnie.mp3' 'test/'\n           5 'ColoredGrayBunny.ogg'                      'test/'\n"
#   Got 4 extra lines at line 3:
#    + "           3 'Audio Book - The Grey Coloured Bunnie.mp3' 'test/'\n"
#    + "           5 'ColoredGrayBunny.ogg'                      'test/'\n"
#    + "\n"
#    + "## =========\n"
#   Lines 10-10 are missing:
#    - "\n"
#    - "## =========\n"
#    - "           3 'Audio Book - The Grey Coloured Bunnie.mp3' 'test/'\n"
#    - "           5 'ColoredGrayBunny.ogg'                      'test/'\n"
#  test.pl line 136 is: ok($result1,$result0) || print $result1;

## =========
           3 'Audio Book - The Grey Coloured Bunnie.mp3' 'test/'
           5 'ColoredGrayBunny.ogg'                      'test/'

## =========
           4 'Python Standard Library.zip' 'test/'
           4 'GNU - Python Standard Library (2001).rar' 'test/'
           5 'GNU - 2001 - Python Standard Library.pdf' 'test/'

Note:

- The previous second similar files group is now the first. I.e.,
  the order of similar files groups is not important.
- There are now 3 files in the book files group.
- The file 'Python Standard Library.zip' is included in the
  group because its size is now similar to the group.

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

## =========
           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/'

## =========
           3 'Audio Book - The Grey Coloured Bunnie.mp3' 'test/'
           5 'ColoredGrayBunny.ogg'                      'test/'
not ok 5
# Test 5 got: "\n## =========\n           3 'Audio Book - The Grey Coloured Bunnie.mp3' 'test/'\n           5 'ColoredGrayBunny.ogg'                      '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 at line 164)
#   Expected: "\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\n## =========\n           3 'Audio Book - The Grey Coloured Bunnie.mp3' 'test/'\n           5 'ColoredGrayBunny.ogg'                      'test/'\n"
#   Got 4 extra lines at line 3:
#    + "           3 'Audio Book - The Grey Coloured Bunnie.mp3' 'test/'\n"
#    + "           5 'ColoredGrayBunny.ogg'                      'test/'\n"
#    + "\n"
#    + "## =========\n"
#   Lines 11-11 are missing:
#    - "\n"
#    - "## =========\n"
#    - "           3 'Audio Book - The Grey Coloured Bunnie.mp3' 'test/'\n"
#    - "           5 'ColoredGrayBunny.ogg'                      'test/'\n"
#  test.pl line 164 is: ok($result1,$result0) || print $result1;

## =========
           3 'Audio Book - The Grey Coloured Bunnie.mp3' 'test/'
           5 'ColoredGrayBunny.ogg'                      '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/'

Note:

- There are 4 files in the book files group now.
- 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 one
  is now included in the book group.
- If the size of file 'Python Standard Library.zip' is 12(KB), then the
  book 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::Fast 0    0.34    
    Getopt::Long          0    2.42    
    Pod::Usage            0    1.64    
    Test::More            0    1.001008

build_requires:

    Module                Need Have    
    --------------------- ---- --------
    ExtUtils::MakeMaker   0    7.00    


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

Environment variables:

    AUTOMATED_TESTING = 1
    LANG = en_US.utf8
    NONINTERACTIVE_TESTING = 1
    PATH = /usr/lib/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib/ccache:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/opt/real/RealPlayer:/root/bin:/opt/real/RealPlayer
    PERL5LIB = 
    PERL5OPT = 
    PERL5_CPANPLUS_IS_RUNNING = 3317
    PERL5_CPAN_IS_RUNNING = 3317
    PERL_MM_USE_DEFAULT = 1
    SHELL = /bin/bash
    TERM = xterm

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

    $^X = /opt/perl430-27-O0-5.8.9/bin/perl
    $UID/$EUID = 0 / 0
    $GID = 0 0 1 2 3 4 6 10
    $EGID = 0 0 1 2 3 4 6 10

Perl module toolchain versions installed:

    Module              Have    
    ------------------- --------
    CPAN                2.05    
    CPAN::Meta          2.142690
    Cwd                 3.47    
    ExtUtils::CBuilder  0.280220
    ExtUtils::Command   1.18    
    ExtUtils::Install   2.04    
    ExtUtils::MakeMaker 7.00    
    ExtUtils::Manifest  1.68    
    ExtUtils::ParseXS   3.24    
    File::Spec          3.47    
    JSON                2.90    
    JSON::PP            2.27300 
    Module::Build       0.4210  
    Module::Signature   0.73    
    Parse::CPAN::Meta   1.4414  
    Test::Harness       3.33    
    Test::More          1.001008
    YAML                1.13    
    YAML::Syck          1.27    
    version             0.9909  


--

Summary of my perl5 (revision 5 version 8 subversion 9) configuration:
  Platform:
    osname=linux, osvers=2.6.27.25-78.2.56.fc9.i686, archname=i686-linux-thread-multi-64int-ld
    uname='linux localhost.localdomain 2.6.27.25-78.2.56.fc9.i686 #1 smp thu jun 18 12:47:50 edt 2009 i686 i686 i386 gnulinux '
    config_args='-Dcc=gcc -Dprefix=/opt/perl430-27-O0-5.8.9 -DDEBUGGING'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=define use5005threads=undef useithreads=define usemultiplicity=define
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=define use64bitall=undef uselongdouble=define
    usemymalloc=y, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
    optimize='-O0 -g',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/include/gdbm'
    ccversion='', gccversion='4.3.0 20080428 (Red Hat 4.3.0-8)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long long', ivsize=8, nvtype='long double', nvsize=12, Off_t='off_t', lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
    libc=/lib/libc-2.8.so, so=so, useshrplib=true, libperl=libperl.so
    gnulibc_version='2.8'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/opt/perl430-27-O0-5.8.9/lib/5.8.9/i686-linux-thread-multi-64int-ld/CORE'
    cccdlflags='-fPIC', lddlflags='-shared -O0 -g -L/usr/local/lib'


Characteristics of this binary (from libperl): 
  Compile-time options: DEBUGGING MULTIPLICITY MYMALLOC PERL_IMPLICIT_CONTEXT
                        PERL_MALLOC_WRAP THREADS_HAVE_PIDS USE_64_BIT_INT
                        USE_FAST_STDIO USE_ITHREADS USE_LARGE_FILES
                        USE_LONG_DOUBLE USE_PERLIO USE_REENTRANT_API
  Built under linux
  Compiled at Oct 10 2014 07:21:21
  %ENV:
    PERL5LIB=""
    PERL5OPT=""
    PERL5_CPANPLUS_IS_RUNNING="3317"
    PERL5_CPAN_IS_RUNNING="3317"
    PERL_MM_USE_DEFAULT="1"
  @INC:
    /opt/perl430-27-O0-5.8.9/lib/5.8.9/i686-linux-thread-multi-64int-ld
    /opt/perl430-27-O0-5.8.9/lib/5.8.9
    /opt/perl430-27-O0-5.8.9/lib/site_perl/5.8.9/i686-linux-thread-multi-64int-ld
    /opt/perl430-27-O0-5.8.9/lib/site_perl/5.8.9
    .