Report for File-Find-Similars-2.04.1

Back
From: metabase:user:322078bc-2aae-11df-837a-5e0a49663a4f
Subject: PASS File-Find-Similars-2.04.1 v5.13.11 GNU/Linux
Date: 2011-05-23T14:44:36Z

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 SUNTONG,

This is a computer-generated error report created automatically by
CPANPLUS, version 0.9105. Testers personal comments may appear
at the end of this report.

MAKE TEST passed: PERL_DL_NONLAZY=1 /home/cpan/pit/thr/perl-5.13.11/bin/perl5.13.11 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
# Testing File::Find::Similars 2.04, Perl 5.013011, /home/cpan/pit/thr/perl-5.13.11/bin/perl5.13.11
t/00-load.t .. ok
t/pod.t ...... skipped: Test::Pod 1.22 required for testing POD
All tests successful.
Files=2, Tests=5,  0 wallclock secs ( 0.02 usr  0.00 sys +  0.08 cusr  0.01 csys =  0.11 CPU)
Result: PASS
PERL_DL_NONLAZY=1 /home/cpan/pit/thr/perl-5.13.11/bin/perl5.13.11 "-Iblib/lib" "-Iblib/arch" test.pl
1..5 todo 2;
# Running under perl version 5.013011 for linux
# Current time local: Mon May 23 15:43:37 2011
# Current time GMT:   Mon May 23 14:43:37 2011
# Using Test.pm version 1.25_02
# 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

## =========
           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/'
# 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"
#     (Install the Algorithm::Diff module to have differences in multiline
#      output explained.  You might also set the PERL_TEST_DIFF environment
#      variable to run a diff program on the output.)
#  test.pl line 136 is: ok($result1,$result0) || print $result1;
not ok 5

## =========
           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?
# 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"
#  test.pl line 164 is: ok($result1,$result0) || print $result1;

[MSG] [Mon May 23 15:43:38 2011] Sending test report for 'File-Find-Similars-2.04.1'

This report was machine-generated by CPANPLUS::Dist::YACSmoke 0.62.
Powered by minismokebox version 0.44

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

Environment variables:

    AUTOMATED_TESTING = 1
    LANG = en_US
    LC_COLLATE = C
    PATH = /usr/local/bin:/usr/bin:/bin:/usr/games:/usr/lib64/java/bin:/usr/lib64/qt/bin:/usr/share/texmf/bin:.
    PERL5LIB = :/home/cpan/pit/thr/conf/perl-5.13.11/.cpanplus/5.13.11/build/Class-Accessor-0.34/blib/lib:/home/cpan/pit/thr/conf/perl-5.13.11/.cpanplus/5.13.11/build/Class-Accessor-0.34/blib/arch:/home/cpan/pit/thr/conf/perl-5.13.11/.cpanplus/5.13.11/build/File-Find-Similars-2.04/blib/lib:/home/cpan/pit/thr/conf/perl-5.13.11/.cpanplus/5.13.11/build/File-Find-Similars-2.04/blib/arch
    PERL5_CPANPLUS_IS_RUNNING = 23538
    PERL5_CPANPLUS_IS_VERSION = 0.9105
    PERL5_MINISMOKEBOX = 0.44
    PERL5_YACSMOKE_BASE = /home/cpan/pit/thr/conf/perl-5.13.11
    PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
    PERL_MM_USE_DEFAULT = 1
    SHELL = /bin/bash
    TERM = screen

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

    Perl: $^X = /home/cpan/pit/thr/perl-5.13.11/bin/perl5.13.11
    UID:  $<  = 1001
    EUID: $>  = 1001
    GID:  $(  = 100 100
    EGID: $)  = 100 100


-------------------------------


--

Summary of my perl5 (revision 5 version 13 subversion 11) configuration:
   
  Platform:
    osname=linux, osvers=2.6.33.4, archname=x86_64-linux-thread-multi
    uname='linux slack64 2.6.33.4 #3 smp wed may 12 23:13:09 cdt 2010 x86_64 intel(r) xeon(r) cpu e5520 @ 2.27ghz genuineintel gnulinux '
    config_args='-des -Dprefix=/home/cpan/pit/thr/perl-5.13.11 -Dusethreads -Dusedevel'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=define, usemultiplicity=define
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=define, use64bitall=define, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O2',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
    ccversion='', gccversion='4.4.4', gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -fstack-protector -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib /lib64 /usr/lib64 /usr/local/lib64
    libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
    libc=, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.11.1'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector'


Characteristics of this binary (from libperl): 
  Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
                        PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
                        PERL_PRESERVE_IVUV PERL_USE_DEVEL USE_64_BIT_ALL
                        USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES
                        USE_PERLIO USE_PERL_ATOF USE_REENTRANT_API
  Built under linux
  Compiled at Mar 29 2011 10:14:11
  %ENV:
    PERL5LIB=":/home/cpan/pit/thr/conf/perl-5.13.11/.cpanplus/5.13.11/build/Class-Accessor-0.34/blib/lib:/home/cpan/pit/thr/conf/perl-5.13.11/.cpanplus/5.13.11/build/Class-Accessor-0.34/blib/arch:/home/cpan/pit/thr/conf/perl-5.13.11/.cpanplus/5.13.11/build/File-Find-Similars-2.04/blib/lib:/home/cpan/pit/thr/conf/perl-5.13.11/.cpanplus/5.13.11/build/File-Find-Similars-2.04/blib/arch"
    PERL5_CPANPLUS_IS_RUNNING="23538"
    PERL5_CPANPLUS_IS_VERSION="0.9105"
    PERL5_MINISMOKEBOX="0.44"
    PERL5_YACSMOKE_BASE="/home/cpan/pit/thr/conf/perl-5.13.11"
    PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
    PERL_MM_USE_DEFAULT="1"
  @INC:
    /home/cpan/pit/thr/conf/perl-5.13.11/.cpanplus/5.13.11/build/Class-Accessor-0.34/blib/lib
    /home/cpan/pit/thr/conf/perl-5.13.11/.cpanplus/5.13.11/build/Class-Accessor-0.34/blib/arch
    /home/cpan/pit/thr/conf/perl-5.13.11/.cpanplus/5.13.11/build/File-Find-Similars-2.04/blib/lib
    /home/cpan/pit/thr/conf/perl-5.13.11/.cpanplus/5.13.11/build/File-Find-Similars-2.04/blib/arch
    /home/cpan/pit/thr/perl-5.13.11/lib/site_perl/5.13.11/x86_64-linux-thread-multi
    /home/cpan/pit/thr/perl-5.13.11/lib/site_perl/5.13.11
    /home/cpan/pit/thr/perl-5.13.11/lib/5.13.11/x86_64-linux-thread-multi
    /home/cpan/pit/thr/perl-5.13.11/lib/5.13.11
    .