Back
From: metabase:user:314402c4-2aae-11df-837a-5e0a49663a4f
Subject: PASS File-Similars-1.7 v5.13.4 FreeBSD
Date: 2010-09-09T23:34:45Z
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-Similars-1.7
on perl 5.13.4, created by CPAN-Reporter-1.18.
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:
none provided
------------------------------
PROGRAM OUTPUT
------------------------------
Output from '/usr/bin/make test':
PERL_DL_NONLAZY=1 /usr/home/cpansand/var/ctps/5134/install/perl-5.13.4/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
1..4 todo 1;
# Running under perl version 5.013004 for freebsd
# Current time local: Fri Sep 10 01:33:57 2010
# Current time GMT: Thu Sep 9 23:33:57 2010
# 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 option
not ok 1
# 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"
# Lines 1-1 are missing:
# - " 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"
# test.pl line 55 is: ok($strs,$result0) || print $strs;
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/'
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
------------------------------
Prerequisite modules loaded:
requires:
Module Need Have
--------------- ---- ----
Class::Accessor 0 0.34
Test::More 0 0.96
------------------------------
ENVIRONMENT AND OTHER CONTEXT
------------------------------
Environment variables:
DBIC_NO_WARN_BAD_PERL = 1
PATH = /usr/local/bin:/usr/X11R6/bin:/usr/X11/bin:/usr/perl5.8.0/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/pilot/bin:/home/cpansand/bin/freebsd8.0:/home/cpansand/bin/sh:/home/cpansand/bin:/usr/X386/bin:/usr/games:/home/cpansand/devel:/usr/home/e/eserte/src/perl/CPAN-Testers-ParallelSmoker/utils
PERL = /usr/home/cpansand/var/ctps/5134/install/perl-5.13.4/bin/perl
PERL5LIB =
PERL5OPT =
PERL5_CPANPLUS_IS_RUNNING = 25156
PERL5_CPAN_IS_RUNNING = 25156
PERL5_CPAN_IS_RUNNING_IN_RECURSION = 9925,25156
PERL_BATCH = yes
PERL_CPAN_REPORTER_DIR = /home/cpansand/var/ctps/5134/config/perl-5.13.4/cpanreporter
PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
PERL_HTML_DISPLAY_CLASS = HTML::Display::Mozilla
SHELL = /usr/local/bin/zsh
TERM = xterm
TMPDIR = /tmp/cpansmoker-1023
Perl special variables (and OS-specific diagnostics, for MSWin32):
$^X = /usr/home/cpansand/var/ctps/5134/install/perl-5.13.4/bin/perl
$UID/$EUID = 1023 / 1023
$GID = 1023 1023
$EGID = 1023 1023
Perl module toolchain versions installed:
Module Have
------------------- -------
CPAN 1.94_57
Cwd 3.31
ExtUtils::CBuilder 0.2703
ExtUtils::Command 1.16
ExtUtils::Install 1.55
ExtUtils::MakeMaker 6.5601
ExtUtils::Manifest 1.58
ExtUtils::ParseXS 2.2207
File::Spec 3.31_01
Module::Build 0.3607
Module::Signature 0.66
Test::Harness 3.22
Test::More 0.96
YAML 0.72
YAML::Syck 1.14
version 0.82
--
Summary of my perl5 (revision 5 version 13 subversion 4) configuration:
Platform:
osname=freebsd, osvers=8.0-release, archname=i386-freebsd
uname='freebsd biokovo.herceg.de 8.0-release freebsd 8.0-release #0: sat nov 21 15:48:17 utc 2009 root@almeida.cse.buffalo.edu:usrobjusrsrcsysgeneric i386 '
config_args='-ds -e -Uversiononly -Dinstallusrbinperl=n -Dusedevel -Dprefix=/home/cpansand/var/ctps/5134/install/perl-5.13.4'
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 ='-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=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 ='-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 PERL_USE_DEVEL
USE_LARGE_FILES USE_PERLIO USE_PERL_ATOF
Built under freebsd
Compiled at Sep 7 2010 20:45:15
%ENV:
PERL="/usr/home/cpansand/var/ctps/5134/install/perl-5.13.4/bin/perl"
PERL5LIB=""
PERL5OPT=""
PERL5_CPANPLUS_IS_RUNNING="25156"
PERL5_CPAN_IS_RUNNING="25156"
PERL5_CPAN_IS_RUNNING_IN_RECURSION="9925,25156"
PERL_BATCH="yes"
PERL_CPAN_REPORTER_DIR="/home/cpansand/var/ctps/5134/config/perl-5.13.4/cpanreporter"
PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
PERL_HTML_DISPLAY_CLASS="HTML::Display::Mozilla"
@INC:
/home/cpansand/var/ctps/5134/install/perl-5.13.4/lib/site_perl/5.13.4/i386-freebsd
/home/cpansand/var/ctps/5134/install/perl-5.13.4/lib/site_perl/5.13.4
/home/cpansand/var/ctps/5134/install/perl-5.13.4/lib/5.13.4/i386-freebsd
/home/cpansand/var/ctps/5134/install/perl-5.13.4/lib/5.13.4
.