Back
From: metabase:user:3198cbe2-2aae-11df-837a-5e0a49663a4f
Subject: PASS File-Find-Similars-2.04.1 v5.12.3 GNU/Linux
Date: 2011-02-26T20:19:03Z
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.12.3, 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 '/usr/bin/make test':
PERL_DL_NONLAZY=1 /home/graham/perltest/perl5123/perl/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
# Testing File::Find::Similars 2.04, Perl 5.012003, /home/graham/perltest/perl5123/perl/bin/perl
t/00-load.t .. ok
t/pod.t ...... ok
All tests successful.
Files=2, Tests=7, 0 wallclock secs ( 0.05 usr 0.01 sys + 0.32 cusr 0.02 csys = 0.40 CPU)
Result: PASS
PERL_DL_NONLAZY=1 /home/graham/perltest/perl5123/perl/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
1..5 todo 2;
# Running under perl version 5.012003 for linux
# Current time local: Sat Feb 26 20:19:00 2011
# Current time GMT: Sat Feb 26 20:19:00 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/'
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
------------------------------
ENVIRONMENT AND OTHER CONTEXT
------------------------------
Environment variables:
AUTOMATED_TESTING = 1
LANG = C
PATH = /home/graham/perltest/perl5123/perl/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/java/bin:/opt/java/db/bin:/opt/java/jre/bin:/opt/kde/bin:/usr/bin/perlbin/site:/usr/bin/perlbin/vendor:/usr/lib/perl5/core_perl/bin:/opt/qt/bin
PERL5LIB =
PERL5OPT =
PERL5_CPANPLUS_IS_RUNNING = 3749
PERL5_CPAN_IS_RUNNING = 3749
PERL5_CPAN_IS_RUNNING_IN_RECURSION = 3655,3749
PERL_CR_SMOKER_CURRENT = File-Find-Similars-2.04.1
PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
PERL_MM_USE_DEFAULT = 1
SHELL = /bin/bash
TERM = xterm
Perl special variables (and OS-specific diagnostics, for MSWin32):
$^X = /home/graham/perltest/perl5123/perl/bin/perl
$UID/$EUID = 1000 / 1000
$GID = 1000 7 10 91 92 93 95 98 100 108 1000 1001
$EGID = 1000 7 10 91 92 93 95 98 100 108 1000 1001
Perl module toolchain versions installed:
Module Have
------------------- --------
CPAN 1.9304
Cwd 3.33
ExtUtils::CBuilder 0.280202
ExtUtils::Command 1.16
ExtUtils::Install 1.55
ExtUtils::MakeMaker 6.56
ExtUtils::Manifest 1.57
ExtUtils::ParseXS 2.2206
File::Spec 3.33
Module::Build 0.37_05
Module::Signature 0.66
Test::Harness 3.23
Test::More 0.98
YAML 0.72
YAML::Syck 1.17
version 0.88
--
Summary of my perl5 (revision 5 version 12 subversion 3) configuration:
Platform:
osname=linux, osvers=2.6.36-arch, archname=i686-linux
uname='linux lorant 2.6.36-arch #1 smp preempt fri dec 10 20:01:53 utc 2010 i686 intel(r) pentium(r) 4 cpu 2.80ghz genuineintel gnulinux '
config_args=''
hint=recommended, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=undef
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=undef, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
ccversion='', gccversion='4.5.2', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -fstack-protector -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc -lgdbm_compat
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
libc=/lib/libc-2.12.2.so, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version='2.12.2'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/home/graham/perltest/perl5123/perl/lib/5.12.3/i686-linux/CORE'
cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector'
Characteristics of this binary (from libperl):
Compile-time options: PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP
USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF
Built under linux
Compiled at Feb 19 2011 10:41:34
%ENV:
PERL5LIB=""
PERL5OPT=""
PERL5_CPANPLUS_IS_RUNNING="3749"
PERL5_CPAN_IS_RUNNING="3749"
PERL5_CPAN_IS_RUNNING_IN_RECURSION="3655,3749"
PERL_CR_SMOKER_CURRENT="File-Find-Similars-2.04.1"
PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
PERL_MM_USE_DEFAULT="1"
@INC:
/home/graham/perltest/perl5123/perl/lib/site_perl/5.12.3/i686-linux
/home/graham/perltest/perl5123/perl/lib/site_perl/5.12.3
/home/graham/perltest/perl5123/perl/lib/5.12.3/i686-linux
/home/graham/perltest/perl5123/perl/lib/5.12.3
.