Report for File-Similars-1.7

Back
From: metabase:user:322078bc-2aae-11df-837a-5e0a49663a4f
Subject: PASS File-Similars-1.7 v5.10.1 FreeBSD
Date: 2013-02-25T09:38:21Z

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.9134. Testers personal comments may appear
at the end of this report.


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

TEST RESULTS:

Below is the error stack from stage 'make test':

PERL_DL_NONLAZY=1 /usr/home/cpan/pit/bare-clang/perl-5.10.1/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
1..4 todo 1;
# Running under perl version 5.010001 for freebsd
# Current time local: Mon Feb 25 09:38:21 2013
# Current time GMT:   Mon Feb 25 09:38:21 2013
# Using Test.pm version 1.25_02
# Testing File::Searcher::Similars version 1.27

== 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
find: -printf: unknown primary or operator
not ok 1

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/'
ok 2

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/'
# 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"
#     (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 55 is: ok($strs,$result0) || print $strs;
ok 3

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/'
ok 4

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:

Here is a list of prerequisites you specified and versions we
managed to load:

	  Module Name                        Have     Want
	  Class::Accessor                    0.34        0
	  ExtUtils::MakeMaker                6.64        0
	  Test::More                         0.98        0

Perl module toolchain versions installed:
	Module Name                        Have
	CPANPLUS                         0.9134
	CPANPLUS::Dist::Build              0.70
	Cwd                                3.40
	ExtUtils::CBuilder             0.280205
	ExtUtils::Command                  1.16
	ExtUtils::Install                  1.54
	ExtUtils::MakeMaker                6.64
	ExtUtils::Manifest                 1.61
	ExtUtils::ParseXS                  3.18
	File::Spec                         3.40
	Module::Build                    0.4003
	Pod::Parser                        1.37
	Pod::Simple                        3.07
	Test::Harness                      3.26
	Test::More                         0.98
	version                          0.9901

******************************** NOTE ********************************
The comments above are created mechanically, possibly without manual
checking by the sender.  As there are many people performing automatic
tests on each upload to CPAN, it is likely that you will receive
identical messages about the same problem.

If you believe that the message is mistaken, please reply to the first
one with correction and/or additional informations, and do not take
it personally.  We appreciate your patience. :)
**********************************************************************

Additional comments:


This report was machine-generated by CPANPLUS::Dist::YACSmoke 0.84.
Powered by minismokebox version 0.54

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

Environment variables:

    AUTOMATED_TESTING = 1
    PATH = /usr/home/cpan/pit/bare-clang/conf/perl-5.10.1/.cpanplus/5.10.1/build/File-Similars-1.7/blib/script:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/home/cpan/bin
    PERL5LIB = :/usr/home/cpan/pit/bare-clang/conf/perl-5.10.1/.cpanplus/5.10.1/build/Class-Accessor-0.34/blib/lib:/usr/home/cpan/pit/bare-clang/conf/perl-5.10.1/.cpanplus/5.10.1/build/Class-Accessor-0.34/blib/arch:/usr/home/cpan/pit/bare-clang/conf/perl-5.10.1/.cpanplus/5.10.1/build/File-Similars-1.7/blib/lib:/usr/home/cpan/pit/bare-clang/conf/perl-5.10.1/.cpanplus/5.10.1/build/File-Similars-1.7/blib/arch
    PERL5_CPANPLUS_IS_RUNNING = 21654
    PERL5_CPANPLUS_IS_VERSION = 0.9134
    PERL5_MINISMOKEBOX = 0.54
    PERL5_YACSMOKE_BASE = /usr/home/cpan/pit/bare-clang/conf/perl-5.10.1
    PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
    PERL_MM_USE_DEFAULT = 1
    SHELL = /usr/local/bin/bash
    TERM = screen

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

    Perl: $^X = /usr/home/cpan/pit/bare-clang/perl-5.10.1/bin/perl
    UID:  $<  = 1002
    EUID: $>  = 1002
    GID:  $(  = 1002 1002
    EGID: $)  = 1002 1002


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


--

Summary of my perl5 (revision 5 version 10 subversion 1) configuration:
   
  Platform:
    osname=freebsd, osvers=9.1-release, archname=amd64-freebsd
    uname='freebsd fremen 9.1-release freebsd 9.1-release #0 r243825: tue dec 4 09:23:10 utc 2012 root@farrell.cse.buffalo.edu:usrobjusrsrcsysgeneric amd64 '
    config_args='-des -Dprefix=/usr/home/cpan/pit/bare-clang/perl-5.10.1 -Dcc=clang'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=undef, usemultiplicity=undef
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=define, use64bitall=define, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='clang', ccflags ='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include',
    optimize='-O',
    cppflags='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
    ccversion='', gccversion='4.2.1 Compatible FreeBSD Clang 3.1 ((branches/release_31 156863))', 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='clang', ldflags ='-Wl,-E  -fstack-protector -L/usr/local/lib'
    libpth=/usr/lib /usr/local/lib
    libs=-lgdbm -lm -lcrypt -lutil -lc
    perllibs=-lm -lcrypt -lutil -lc
    libc=, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
    cccdlflags='-DPIC -fPIC', lddlflags='-shared  -L/usr/local/lib -fstack-protector'


Characteristics of this binary (from libperl): 
  Compile-time options: PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP USE_64_BIT_ALL
                        USE_64_BIT_INT USE_LARGE_FILES USE_PERLIO
  Built under freebsd
  Compiled at Dec 20 2012 12:23:20
  %ENV:
    PERL5LIB=":/usr/home/cpan/pit/bare-clang/conf/perl-5.10.1/.cpanplus/5.10.1/build/Class-Accessor-0.34/blib/lib:/usr/home/cpan/pit/bare-clang/conf/perl-5.10.1/.cpanplus/5.10.1/build/Class-Accessor-0.34/blib/arch:/usr/home/cpan/pit/bare-clang/conf/perl-5.10.1/.cpanplus/5.10.1/build/File-Similars-1.7/blib/lib:/usr/home/cpan/pit/bare-clang/conf/perl-5.10.1/.cpanplus/5.10.1/build/File-Similars-1.7/blib/arch"
    PERL5_CPANPLUS_IS_RUNNING="21654"
    PERL5_CPANPLUS_IS_VERSION="0.9134"
    PERL5_MINISMOKEBOX="0.54"
    PERL5_YACSMOKE_BASE="/usr/home/cpan/pit/bare-clang/conf/perl-5.10.1"
    PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
    PERL_MM_USE_DEFAULT="1"
  @INC:
    /usr/home/cpan/pit/bare-clang/conf/perl-5.10.1/.cpanplus/5.10.1/build/Class-Accessor-0.34/blib/lib
    /usr/home/cpan/pit/bare-clang/conf/perl-5.10.1/.cpanplus/5.10.1/build/Class-Accessor-0.34/blib/arch
    /usr/home/cpan/pit/bare-clang/conf/perl-5.10.1/.cpanplus/5.10.1/build/File-Similars-1.7/blib/lib
    /usr/home/cpan/pit/bare-clang/conf/perl-5.10.1/.cpanplus/5.10.1/build/File-Similars-1.7/blib/arch
    /usr/home/cpan/pit/bare-clang/perl-5.10.1/lib/5.10.1/amd64-freebsd
    /usr/home/cpan/pit/bare-clang/perl-5.10.1/lib/5.10.1
    /usr/home/cpan/pit/bare-clang/perl-5.10.1/lib/site_perl/5.10.1/amd64-freebsd
    /usr/home/cpan/pit/bare-clang/perl-5.10.1/lib/site_perl/5.10.1
    .