Back
From: metabase:user:30f0bd62-2aae-11df-837a-5e0a49663a4f
Subject: PASS File-Find-Similars-2.04.1 v5.14.2 MirOS BSD
Date: 2012-01-06T13:34:05Z
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.14.2, created by CPAN-Reporter-1.2003.
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/sts/cpansmoke/perl-5.14.2/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
# Testing File::Find::Similars 2.04, Perl 5.014002, /home/sts/cpansmoke/perl-5.14.2/bin/perl
t/00-load.t .. ok
t/pod.t ...... skipped: Test::Pod 1.22 required for testing POD
All tests successful.
Files=2, Tests=5, 1 wallclock secs ( 0.04 usr 0.02 sys + 0.20 cusr 0.03 csys = 0.29 CPU)
Result: PASS
PERL_DL_NONLAZY=1 /home/sts/cpansmoke/perl-5.14.2/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
1..5 todo 2;
# Running under perl version 5.014002 for mirbsd
# Current time local: Fri Jan 6 14:34:01 2012
# Current time GMT: Fri Jan 6 13:34:25 2012
# 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
not ok 1
# Test 1 got: "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" (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"
# (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 65 is: ok($result1,$result0) || print $result1;
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
== 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"
# 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.57_05
------------------------------
ENVIRONMENT AND OTHER CONTEXT
------------------------------
Environment variables:
AUTOMATED_TESTING = 1
LC_CTYPE = en_US.UTF-8
PATH = /home/sts/bin:/home/sts/.etc/bin:/usr/local/bin:/usr/mpkg/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/sbin:/sbin:/usr/mpkg/sbin:/usr/games
PERL5LIB = /home/sts/cpansmoke/perl-5.14.2/cpan/build/Class-Accessor-0.34-1vk8DJ/blib/arch:/home/sts/cpansmoke/perl-5.14.2/cpan/build/Class-Accessor-0.34-1vk8DJ/blib/lib
PERL5OPT =
PERL5_CPANPLUS_IS_RUNNING = 31846
PERL5_CPAN_IS_RUNNING = 31846
PERL5_CPAN_IS_RUNNING_IN_RECURSION = 166,31846
PERL_CR_SMOKER_CURRENT = File-Find-Similars-2.04.1
PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
PERL_MM_USE_DEFAULT = 1
SHELL = /bin/mksh
TERM = screen
TMPDIR = /home/sts/cpansmoke/tmp
Perl special variables (and OS-specific diagnostics, for MSWin32):
$^X = /home/sts/cpansmoke/perl-5.14.2/bin/perl
$UID/$EUID = 3000 / 3000
$GID = 3000 3000 0 9 20
$EGID = 3000 3000 0 9 20
Perl module toolchain versions installed:
Module Have
------------------- --------
CPAN 1.9800
CPAN::Meta 2.110440
Cwd 3.36
ExtUtils::CBuilder 0.280203
ExtUtils::Command 1.17
ExtUtils::Install 1.56
ExtUtils::MakeMaker 6.57_05
ExtUtils::Manifest 1.58
ExtUtils::ParseXS 2.2210
File::Spec 3.33
JSON n/a
JSON::PP 2.27105
Module::Build 0.3800
Module::Signature n/a
Parse::CPAN::Meta 1.4401
Test::Harness 3.23
Test::More 0.98
YAML n/a
YAML::Syck n/a
version 0.88
--
Summary of my perl5 (revision 5 version 14 subversion 2) configuration:
Platform:
osname=mirbsd, osvers=10, archname=MirBSD.i386-mirbsd-thread-multi
uname='mirbsd cpansmoke8 10 kv#10uaf-20110818 generic#1330 i386 '
config_args='-des -Dusethreads -Dprefix=/home/sts/cpansmoke/perl-5.14.2'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=undef, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='mgcc', ccflags ='-pthread -fhonour-copts -I/usr/mpkg/include -I/usr/local/include',
optimize='-O2',
cppflags='-fhonour-copts -I/usr/mpkg/include -pthread -fhonour-copts -I/usr/mpkg/include -I/usr/local/include'
ccversion='', gccversion='3.4.6 (propolice; gpc; MirOS 0AAB)', gccosandvers='mirbsd10'
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='mgcc', ldflags ='-pthread -Wl,-E -L/usr/mpkg/lib -L/usr/local/lib'
libpth=/usr/mpkg/lib /usr/local/lib /usr/lib
libs=-lm -lutil -lc
perllibs=-lm -lutil -lc
libc=/usr/lib/libc.so.41.9, 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 -fPIC -L/usr/mpkg/lib -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
PERL_PRESERVE_IVUV USE_ITHREADS USE_LARGE_FILES
USE_PERLIO USE_PERL_ATOF USE_REENTRANT_API
Built under mirbsd
Compiled at Dec 7 2011 21:53:16
%ENV:
PERL5LIB="/home/sts/cpansmoke/perl-5.14.2/cpan/build/Class-Accessor-0.34-1vk8DJ/blib/arch:/home/sts/cpansmoke/perl-5.14.2/cpan/build/Class-Accessor-0.34-1vk8DJ/blib/lib"
PERL5OPT=""
PERL5_CPANPLUS_IS_RUNNING="31846"
PERL5_CPAN_IS_RUNNING="31846"
PERL5_CPAN_IS_RUNNING_IN_RECURSION="166,31846"
PERL_CR_SMOKER_CURRENT="File-Find-Similars-2.04.1"
PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
PERL_MM_USE_DEFAULT="1"
@INC:
/home/sts/cpansmoke/perl-5.14.2/cpan/build/Class-Accessor-0.34-1vk8DJ/blib/arch
/home/sts/cpansmoke/perl-5.14.2/cpan/build/Class-Accessor-0.34-1vk8DJ/blib/lib
/home/sts/cpansmoke/perl-5.14.2/lib/site_perl/5.14.2/MirBSD.i386-mirbsd-thread-multi
/home/sts/cpansmoke/perl-5.14.2/lib/site_perl/5.14.2
/home/sts/cpansmoke/perl-5.14.2/lib/5.14.2/MirBSD.i386-mirbsd-thread-multi
/home/sts/cpansmoke/perl-5.14.2/lib/5.14.2
.