Back
From: metabase:user:9820532a-708b-1014-9a05-b18a96298da1
Subject: PASS File-Find-Similars-2.04.1 v5.15.1 FreeBSD
Date: 2011-08-08T01:13:59Z
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.15.1, created by CPAN-Reporter-1.2001.
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 /home/test/perl5/perlbrew/perls/perl-5.15.1/bin/perl5.15.1 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
# Testing File::Find::Similars 2.04, Perl 5.015001, /home/test/perl5/perlbrew/perls/perl-5.15.1/bin/perl5.15.1
t/00-load.t .. ok
t/pod.t ...... ok
All tests successful.
Files=2, Tests=7, 0 wallclock secs ( 0.02 usr 0.10 sys + 0.14 cusr 0.09 csys = 0.35 CPU)
Result: PASS
PERL_DL_NONLAZY=1 /home/test/perl5/perlbrew/perls/perl-5.15.1/bin/perl5.15.1 "-Iblib/lib" "-Iblib/arch" test.pl
1..5 todo 2;
# Running under perl version 5.015001 for freebsd
# Current time local: Mon Aug 8 02:13:54 2011
# Current time GMT: Mon Aug 8 01:13:54 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
x test/
x test/Audio Book - The Grey Coloured Bunnie.mp3
x test/GNU - Python Standard Library (2001).rar
x test/PopupTest.java
x test/(eBook) GNU - Python Standard Library 2001.pdf
x test/Python Standard Library.zip
x test/GNU - 2001 - Python Standard Library.pdf
x test/LayoutTest.java
x test/ColoredGrayBunny.ogg
not ok 1
# Test 1 got: "" (test.pl at line 65)
# Expected: "test/\ntest/Audio Book - The Grey Coloured Bunnie.mp3\ntest/GNU - Python Standard Library (2001).rar\ntest/PopupTest.java\ntest/(eBook) GNU - Python Standard Library 2001.pdf\ntest/Python Standard Library.zip\ntest/GNU - 2001 - Python Standard Library.pdf\ntest/LayoutTest.java\ntest/ColoredGrayBunny.ogg\n"
# Lines 1-1 are missing:
# - "test/\n"
# - "test/Audio Book - The Grey Coloured Bunnie.mp3\n"
# - "test/GNU - Python Standard Library (2001).rar\n"
# - "test/PopupTest.java\n"
# - "test/(eBook) GNU - Python Standard Library 2001.pdf\n"
# - "test/Python Standard Library.zip\n"
# - "test/GNU - 2001 - Python Standard Library.pdf\n"
# - "test/LayoutTest.java\n"
# - "test/ColoredGrayBunny.ogg\n"
# test.pl line 65 is: ok($result1,$result0) || print $result1;
== 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
find: -printf: unknown option
not ok 2
# Test 2 got: "" (test.pl at line 83 *TODO*)
# Expected: " 9 test/(eBook) GNU - Python Standard Library 2001.pdf\n 3 test/Audio Book - The Grey Coloured Bunnie.mp3\n 5 test/ColoredGrayBunny.ogg\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"
# Lines 1-1 are missing:
# - " 9 test/(eBook) GNU - Python Standard Library 2001.pdf\n"
# - " 3 test/Audio Book - The Grey Coloured Bunnie.mp3\n"
# - " 5 test/ColoredGrayBunny.ogg\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"
# test.pl line 83 is: ok($strs,$result0) || print $strs;
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/'
ok 4
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/'
ok 5
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.38
Pod::Usage 0 1.36
Test::More 0 0.98
build_requires:
Module Need Have
--------------------- ---- ----
ExtUtils::MakeMaker 0 6.59
------------------------------
ENVIRONMENT AND OTHER CONTEXT
------------------------------
Environment variables:
AUTOMATED_TESTING = 1
LANG = C
LC_ALL = C
PATH = /home/test/perl5/perlbrew/bin:/home/test/perl5/perlbrew/perls/perl-5.15.1/bin:~/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/home/test/bin
PATH_WITHOUT_PERLBREW = ~/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/home/test/bin
PERL5LIB =
PERL5OPT =
PERL5_CPANPLUS_IS_RUNNING = 34131
PERL5_CPAN_IS_RUNNING = 34131
PERL5_CPAN_IS_RUNNING_IN_RECURSION = 5499,34131
PERLBREW_HOME = /home/test/.perlbrew
PERLBREW_PATH = /home/test/perl5/perlbrew/bin:/home/test/perl5/perlbrew/perls/perl-5.15.1/bin
PERLBREW_PERL = perl-5.15.1
PERLBREW_ROOT = /home/test/perl5/perlbrew
PERLBREW_VERSION = 0.27
PERL_CPANM_OPT = --prompt --mirror http://172.16.1.3/cpan/
PERL_CR_SMOKER_CURRENT = File-Find-Similars-2.04.1
PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
PERL_MM_USE_DEFAULT = 1
SHELL = /usr/local/bin/bash
TERM = linux
Perl special variables (and OS-specific diagnostics, for MSWin32):
$^X = /home/test/perl5/perlbrew/perls/perl-5.15.1/bin/perl5.15.1
$UID/$EUID = 1002 / 1002
$GID = 1002 1002
$EGID = 1002 1002
Perl module toolchain versions installed:
Module Have
------------------- --------
CPAN 1.9800
CPAN::Meta 2.112150
Cwd 3.37
ExtUtils::CBuilder 0.280204
ExtUtils::Command 1.17
ExtUtils::Install 1.52
ExtUtils::MakeMaker 6.59
ExtUtils::Manifest 1.58
ExtUtils::ParseXS 3.02
File::Spec 3.33
JSON 2.53
JSON::PP 2.27200
Module::Build 0.3800
Module::Signature 0.68
Parse::CPAN::Meta 1.4401
Test::Harness 3.23
Test::More 0.98
YAML 0.73
YAML::Syck n/a
version 0.93
--
Summary of my perl5 (revision 5 version 15 subversion 1) configuration:
Platform:
osname=freebsd, osvers=8.1-release, archname=amd64-freebsd-thread-multi
uname='freebsd fbsd.local 8.1-release freebsd 8.1-release #0: mon jul 19 02:36:49 utc 2010 root@mason.cse.buffalo.edu:usrobjusrsrcsysgeneric amd64 '
config_args='-de -Dprefix=/home/test/perl5/perlbrew/perls/perl-5.15.1 -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 ='-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 20070719 [FreeBSD]', 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 ='-pthread -Wl,-E -fstack-protector -L/usr/local/lib'
libpth=/usr/lib /usr/local/lib
libs=-lm -lcrypt
perllibs=-lm -lcrypt
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: HAS_TIMES MULTIPLICITY PERLIO_LAYERS
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_LOCALE USE_LOCALE_COLLATE
USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_PERLIO
USE_PERL_ATOF USE_REENTRANT_API
Built under freebsd
Compiled at Jul 31 2011 22:12:40
%ENV:
PERL5LIB=""
PERL5OPT=""
PERL5_CPANPLUS_IS_RUNNING="34131"
PERL5_CPAN_IS_RUNNING="34131"
PERL5_CPAN_IS_RUNNING_IN_RECURSION="5499,34131"
PERLBREW_HOME="/home/test/.perlbrew"
PERLBREW_PATH="/home/test/perl5/perlbrew/bin:/home/test/perl5/perlbrew/perls/perl-5.15.1/bin"
PERLBREW_PERL="perl-5.15.1"
PERLBREW_ROOT="/home/test/perl5/perlbrew"
PERLBREW_VERSION="0.27"
PERL_CPANM_OPT="--prompt --mirror http://172.16.1.3/cpan/"
PERL_CR_SMOKER_CURRENT="File-Find-Similars-2.04.1"
PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
PERL_MM_USE_DEFAULT="1"
@INC:
/home/test/perl5/perlbrew/perls/perl-5.15.1/lib/site_perl/5.15.1/amd64-freebsd-thread-multi
/home/test/perl5/perlbrew/perls/perl-5.15.1/lib/site_perl/5.15.1
/home/test/perl5/perlbrew/perls/perl-5.15.1/lib/5.15.1/amd64-freebsd-thread-multi
/home/test/perl5/perlbrew/perls/perl-5.15.1/lib/5.15.1
.