This distribution has been tested as part of the cpan-testers
effort to test as many new uploads to CPAN as possible. See
http://testers.cpan.org/
Please cc any replies to [EMAIL PROTECTED] to keep other
test volunteers informed and to prevent any duplicate effort.
--
C:\new\File-Flat-0.91>perL Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for File::Flat
C:\new\File-Flat-0.91>nmake test
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
cp lib/File/Flat.pm blib\lib\File\Flat.pm
C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0,
'blib\lib',
'blib\arch')" t\01_main.t
t\01_main....NOK 52# Failed test (t\01_main.t at line 294)
t\01_main....NOK 54# Failed test (t\01_main.t at line 296)
t\01_main....NOK 55# Failed test (t\01_main.t at line 297)
t\01_main....NOK 97# Failed test (t\01_main.t at line 391)
t\01_main....NOK 171# Failed test (t\01_main.t at line 549)
t\01_main....NOK 172# Failed test (t\01_main.t at line 550)
t\01_main....ok 212/212# Looks like you failed 6 tests of 212.
t\01_main....dubious
Test returned status 6 (wstat 1536, 0x600)
DIED. FAILED tests 52, 54-55, 97, 171-172
Failed 6/212 tests, 97.17% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t\01_main.t 6 1536 212 6 2.83% 52 54-55 97 171-172
Failed 1/1 test scripts, 0.00% okay. 6/212 subtests failed, 97.17% okay.
NMAKE : fatal error U1077: 'C:\Perl\bin\perl.exe' : return code '0x6'
Stop.
C:\new\File-Flat-0.91>nmake test TEST_VERBOSE=1
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(1,
'blib\lib',
'blib\arch')" t\01_main.t
t\01_main....1..212
ok 1 - Your perl is new enough
ok 2 - IO::File is installed
ok 3 - File::Copy is installed
ok 4 - File::Temp is installed
ok 5 - File::Spec is installed
ok 6 - File::Spec is new enough
ok 7 - File::Flat is installed
ok 8 - File::Flat loads correctly
ok 9 - Static and object APIs match
ok 10 - ->_error returns undef
ok 11 - ->_error sets error message
ok 12 - ->errstr retrieves error message
ok 13 - Static ->exists doesn't see missing file
ok 14 - Static ->exists sees mode 000 file
ok 15 - Static ->exists sees mode 400 file
ok 16 - Static ->exists sees mode 700 file
ok 17 - Static ->exists sees . directory
ok 18 - Static ->exists sees mode 000 directory
ok 19 - Static ->isaFile returns false for missing file
ok 20 - Static ->isaFile returns true for mode 000 file
ok 21 - Static ->isaFile returns true for mode 700 file
ok 22 - Static ->isaFile returns false for current directory
ok 23 - Static ->isaFile returns false for subdirectory
ok 24 - Static ->isaDirectory returns false for missing directory
ok 25 - Static ->isaDirectory returns false for mode 000 file
ok 26 - Static ->isaDirectory returns false for mode 700 file
ok 27 - Static ->isaDirectory returns true for current directory
ok 28 - Static ->isaDirectory returns true for readable subdirectory
ok 29 - Static ->isaDirectory return true for unreadable subdirectory
ok 30 - Static ->canRead returns false for missing file
ok 31 - Static ->canRead returns true for mode 400 file
ok 32 - Static ->canRead returns true for mode 500 file
ok 33 - Static ->canRead returns true for mode 300 file
ok 34 - Static ->canRead returns true for mode 700 file
ok 35 - Static ->canRead returns true for current directory
ok 36 - Static ->canRead returns true for readable subdirectory
ok 37 - Static ->canWrite returns true for missing, creatable, file
ok 38 - Static ->canWrite returns true for mode 200 file
ok 39 - Static ->canWrite returns true for mode 500 file
ok 40 - Static ->canWrite returns true for mode 700 file
ok 41 - Static ->canWrite returns true for current directory
ok 42 - Static ->canWrite returns true for writable subdirectory
ok 43 - Static ->canReadWrite returns false for missing file
ok 44 - Static ->canReadWrite returns true for mode 500 file
ok 45 - Static ->canReadWrite returns true for mode 700 file
ok 46 - Static ->canReadWrite returns true for current directory
ok 47 - Static ->canReadWrite returns true for readwritable subdirectory
ok 48 - Static ->canExecute returns false for missing file
ok 49 - Static ->canExecute returns false for mode 000 file
ok 50 - Static ->canExecute returns false for mode 400 file
ok 51 - Static ->canExecute returns false for mode 200 file
not ok 52 - Static ->canExecute returns true for mode 100 file
# Failed test (t\01_main.t at line 294)
ok 53 - Static ->canExecute returns false for mode 500 file
not ok 54 - Static ->canExecute returns true for mode 300 file
# Failed test (t\01_main.t at line 296)
not ok 55 - Static ->canExecute returns true for mode 700 file
# Failed test (t\01_main.t at line 297)
ok 56 - Static ->canExecute returns true for current directory
ok 57 - Static ->canExecute returns true for executable subdirectory
ok 58 - Static ->canOpen returns false for missing file
ok 59 - Static ->canOpen returns true for mode 400 file
ok 60 - Static ->canOpen returns true for mode 500 file
ok 61 - Static ->canOpen returns true for mode 300 file
ok 62 - Static ->canOpen returns true for mode 700 file
ok 63 - Static ->canOpen returns false for current directory
ok 64 - Static ->canOpen returns false for readable subdirectory
ok 65 - Static ->canOpen returns false for unreadable subdirectory
ok 66 - Static ->isText returns false for missing file
ok 67 - Static ->isText returns false for binary file
ok 68 - Static ->isText returns true for text file
ok 69 - Static ->isText returns false for good subdirectory
ok 70 - Static ->isText returns false for bad subdirectory
ok 71 - Static ->isBinary returns false for missing file
ok 72 - Static ->isBinary returns true for binary file
ok 73 - Static ->isBinary returns false for text file
ok 74 - Static ->isBinary return false for good subdirectory
ok 75 - Static ->isBinary returns false for bad subdirectory
ok 76 - Static ->open call returns undef on bad file name
ok 77 - Static ->getReadHandle returns undef on bad file name
ok 78 - Static ->getWriteHandle returns undef on bad file name
ok 79 - Static ->getAppendHandle returns undef on bad file name
ok 80 - Static ->getReadWriteHandle returns undef on bad file name
ok 81 - Static ->open call returns IO::File object
ok 82 - Static ->getReadHandle returns IO::File object
ok 83 - Static ->getWriteHandle returns IO::File object
ok 84 - Static ->getAppendHandle returns IO::File object
ok 85 - Static ->getReadWriteHandle returns IO::File object
ok 86 - ->copy() returns error
ok 87 - ->copy( file ) returns error
ok 88 - Static ->copy returns true correctly for same directory copy
ok 89 - Static ->copy actually created the file for same directory copy
ok 90 - Static ->copy copies the file without breaking it
ok 91 - Static ->copy returns true correctly for single sub-directory copy
ok 92 - Static ->copy actually created the file for single sub-directory copy
ok 93 - Static ->copy returns true correctly for multiple sub-directory copy
ok 94 - Static ->copy actually created the file for multiple sub-directory copy
ok 95 - Static ->copy return undef when file does not exist
ok 96 - ->copy( dir, dir ): New dir exists
not ok 97 - ->copy( dir, dir ): Files within directory were copied
# Failed test (t\01_main.t at line 391)
ok 98 - Static ->move for move to existing directory returns true
ok 99 - Static ->move for move to existing directory actually removes the old file
ok 100 - Static ->move for move to existing directory actually creates the new file
ok 101 - Static ->move for move to new directory returns true
ok 102 - Static ->move for move to new directory actually removes the old file
ok 103 - Static ->move for move to new directory actually creates the new file
ok 104 - Static ->move moved the file without breaking it
ok 105 - Content tester works
ok 106 - Static ->slurp returns error on no arguments
ok 107 - Static ->slurp returns error on bad file
ok 108 - Static ->slurp returns defined
ok 109 - Static ->slurp returns something
ok 110 - Static ->slurp returns a scalar reference
ok 111 - Static ->slurp returns content
ok 112 - Static ->slurp returns the correct file contents
ok 113 - Static ->read returns error on no arguments
ok 114 - Static ->read returns error on bad file
ok 115 - Static ->read doesn't error on good file
ok 116 - Static ->read returns true on good file
ok 117 - Static ->read returns a reference on good file
ok 118 - Static ->read returns an array ref on good file
ok 119 - Static ->read returns the correct length of data
ok 120 - Static ->read returns the expected content
ok 121 - Static ->read (array context) returns error on no arguments
ok 122 - Static ->read (array context) returns error on bad file
ok 123 - Static ->read (array context) doesn't error on good file
ok 124 - Static ->read (array context) returns the correct length of data
ok 125 - Static ->read (array context) returns the expected content
ok 126 - ->write() fails correctly
ok 127 - ->write( file ) fails correctly
ok 128 - ->write( file ) doesn't actually create a file
ok 129 - ->File::Flat->write( file, string ) returns true
ok 130 - ->write( file, string ) actually creates a file
ok 131 - ->write( file, string ) writes the correct content
ok 132 - ->File::Flat->write( file, string_ref ) returns true
ok 133 - ->write( file, string_ref ) actually creates a file
ok 134 - ->write( file, string_ref ) writes the correct content
ok 135 - ->write( file, array_ref ) returns true
ok 136 - ->write( file, array_ref ) actually creates a file
ok 137 - ->write( file, array_ref ) writes the correct content
ok 138 - ->write( handle ) fails correctly
ok 139 - Got write handle for test
ok 140 - ->write( handle, string ) returns true
ok 141 - ->write( handle, string ) actually creates a file
ok 142 - ->write( handle, string ) writes the correct content
ok 143 - Got write handle for test
ok 144 - ->File::Flat->write( handle, string_ref ) returns true
ok 145 - ->write( handle, string_ref ) actually creates a file
ok 146 - ->write( handle, string_ref ) writes the correct content
ok 147 - Got write handle for test
ok 148 - ->File::Flat->write( handle, array_ref ) returns true
ok 149 - ->write( handle, array_ref ) actually creates a file
ok 150 - ->write( handle, array_ref ) writes the correct content
ok 151 - ->overwrite() fails correctly
ok 152 - ->overwrite( file ) fails correctly
ok 153 - ->overwrite( file ) doesn't actually create a file
ok 154 - ->File::Flat->overwrite( file, string ) returns true
ok 155 - ->overwrite( file, string ) actually creates a file
ok 156 - ->overwrite( file, string ) writes the correct content
ok 157 - ->File::Flat->overwrite( file, string_ref ) returns true
ok 158 - ->overwrite( file, string_ref ) actually creates a file
ok 159 - ->overwrite( file, string_ref ) writes the correct content
ok 160 - ->overwrite( file, array_ref ) returns true
ok 161 - ->overwrite( file, array_ref ) actually creates a file
ok 162 - ->overwrite( file, array_ref ) writes the correct content
ok 163 - Preparing for overwrite test
ok 164 - ->overwrite( file, array_ref ) returns true
ok 165 - ->overwrite( file, array_ref ) actually creates a file
ok 166 - ->overwrite( file, array_ref ) writes the correct content
ok 167 - ->remove() correctly return an error
ok 168 - ->remove( file ) returns an error for a nonexistant file
ok 169 - ->remove( file ) returns true for existing file
ok 170 - ->remove( file ) actually removes the file
not ok 171 - ->remove( directory ) returns true for existing directory
# Failed test (t\01_main.t at line 549)
not ok 172 - ->remove( directory ) actually removes the directory
# Failed test (t\01_main.t at line 550)
ok 173 - ->append() correctly returns an error
ok 174 - ->append( file ) correctly returns an error
ok 175 - ->append( file ) doesn't actually create a file
ok 176 - ->File::Flat->append( file, string ) returns true
ok 177 - ->append( file, string ) actually creates a file
ok 178 - ->append( file, string ) writes the correct content
ok 179 - ->File::Flat->append( file, string_ref ) returns true
ok 180 - ->append( file, string_ref ) actually creates a file
ok 181 - ->append( file, string_ref ) writes the correct content
ok 182 - ->append( file, array_ref ) returns true
ok 183 - ->append( file, array_ref ) actually creates a file
ok 184 - ->append( file, array_ref ) writes the correct content
ok 185 - Preparing for real append
ok 186 - ->append( file, array_ref ) for an actual append returns true
ok 187 - ->append( file, array_ref ): File still exists
ok 188 - ->append( file, array_ref ) results in the correct file contents
ok 189 - Preparing for file size tests
ok 190 - ->fileSize() correctly returns error
ok 191 - ->fileSize( file ) returns error for nonexistant file
ok 192 - ->fileSize( directory ) returns error
ok 193 - ->fileSize( file ) returns true for small file
ok 194 - ->fileSize( file ) returns the correct size for small file
ok 195 - ->fileSize( file ) returns true for big file
ok 196 - ->fileSize( file ) returns the correct size for big file
ok 197 - ->fileSize( file ) returns true for empty file
ok 198 - ->fileSize( file ) returns the correct size for empty file
ok 199 - ->truncate() correctly returns error
ok 200 - ->truncate( directory ) returns error
ok 201 - ->truncate( file ) returns true for non-existant file
ok 202 - ->truncate( file ) creates new file
ok 203 - ->truncate( file ) creates file of 0 bytes
ok 204 - ->truncate( file ) returns true for existing file
ok 205 - ->truncate( file ): File still exists
ok 206 - ->truncate( file ) truncates to 0 bytes
ok 207 - ->truncate( file, 0 ) returns true for existing file
ok 208 - ->truncate( file, 0 ): File still exists
ok 209 - ->truncate( file, 0 ) truncates to 0 bytes
ok 210 - ->truncate( file, 5 ) returns true for existing file
ok 211 - ->truncate( file, 5 ): File still exists
ok 212 - ->truncate( file, 5 ) truncates to 5 bytes
# Looks like you failed 6 tests of 212.
dubious
Test returned status 6 (wstat 1536, 0x600)
DIED. FAILED tests 52, 54-55, 97, 171-172
Failed 6/212 tests, 97.17% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t\01_main.t 6 1536 212 6 2.83% 52 54-55 97 171-172
Failed 1/1 test scripts, 0.00% okay. 6/212 subtests failed, 97.17% okay.
NMAKE : fatal error U1077: 'C:\Perl\bin\perl.exe' : return code '0x6'
Stop.
C:\new\File-Flat-0.91>
--
Summary of my perl5 (revision 5 version 6 subversion 1) configuration:
Platform:
osname=MSWin32, osvers=4.0, archname=MSWin32-x86-multi-thread
uname=''
config_args='undef'
hint=recommended, useposix=true, d_sigaction=undef
usethreads=undef use5005threads=undef useithreads=define usemultiplicity=define
useperlio=undef d_sfio=undef uselargefiles=undef usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
Compiler:
cc='cl', ccflags ='-nologo -O1 -MD -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT
-DHAVE_DES_FCRYPT
-DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DPERL_MSVCRT_READFIX',
optimize='-O1 -MD -DNDEBUG',
cppflags='-DWIN32'
ccversion='', gccversion='', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=10
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=4
alignbytes=8, usemymalloc=n, prototype=define
Linker and Libraries:
ld='link', ldflags ='-nologo -nodefaultlib -release -libpath:"C:/Perl\lib\CORE"
-machine:x86'
libpth="C:\Program Files\Microsoft Visual Studio\VC98\mfc\lib" "C:\Program
Files\Microsoft
Visual Studio\VC98\lib" "C:\Perl\lib\CORE"
libs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib
advapi32.lib
shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib wsock32.lib mpr.lib
winmm.lib
version.lib odbc32.lib odbccp32.lib msvcrt.lib
perllibs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib
comdlg32.lib
advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib wsock32.lib
mpr.lib
winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib
libc=msvcrt.lib, so=dll, useshrplib=yes, libperl=perl56.lib
Dynamic Linking:
dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -release
-libpath:"C:/Perl\lib\CORE"
-machine:x86'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY USE_ITHREADS PERL_IMPLICIT_CONTEXT
PERL_IMPLICIT_SYS
Locally applied patches:
ActivePerl Build 633
Built under MSWin32
Compiled at Jun 17 2002 21:33:05
@INC:
C:/Perl/lib
C:/Perl/site/lib
.
__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/