Warning: prerequisite File::Spec 0.85 not found at /home/cpanrun/pa-risc1.1/build/5.6.1/lib/5.6.1/ExtUtils/MakeMaker.pm line 343. Warning: prerequisite File::Temp 0.14 not found at /home/cpanrun/pa-risc1.1/build/5.6.1/lib/5.6.1/ExtUtils/MakeMaker.pm line 343. Checking if your kit is complete... Looks good Writing Makefile for File::Flat cp lib/File/Flat.pm blib/lib/File/Flat.pm Manifying blib/man3/File::Flat.3 PERL_DL_NONLAZY=1 /home/cpanrun/pa-risc1.1/build/5.6.1/bin/perl -Iinc -Iblib/arch -Iblib/lib -I/home/cpanrun/pa-risc1.1/build/5.6.1/lib/5.6.1/PA-RISC1.1-thread-multi -e 'use Test::Harness qw(&runtests $verbose); $verbose=1; runtests @ARGV;' t/*.t t/00_api.......1..63 ok 1 - Class 'File::Flat' is loaded ok 2 - Class 'File::Flat::Object' is loaded ok 3 - File::Flat->can('append') ok 4 - File::Flat->can('canExecute') ok 5 - File::Flat->can('canOpen') ok 6 - File::Flat->can('canRead') ok 7 - File::Flat->can('canReadWrite') ok 8 - File::Flat->can('canRemove') ok 9 - File::Flat->can('canWrite') ok 10 - File::Flat->can('copy') ok 11 - File::Flat->can('errstr') ok 12 - File::Flat->can('exists') ok 13 - File::Flat->can('fileSize') ok 14 - File::Flat->can('getAppendHandle') ok 15 - File::Flat->can('getReadHandle') ok 16 - File::Flat->can('getReadWriteHandle') ok 17 - File::Flat->can('getWriteHandle') ok 18 - File::Flat->can('isBinary') ok 19 - File::Flat->can('isText') ok 20 - File::Flat->can('isaDirectory') ok 21 - File::Flat->can('isaFile') ok 22 - File::Flat->can('makeDirectory') ok 23 - File::Flat->can('move') ok 24 - File::Flat->can('open') ok 25 - File::Flat->can('overwrite') ok 26 - File::Flat->can('prune') ok 27 - File::Flat->can('read') ok 28 - File::Flat->can('remove') ok 29 - File::Flat->can('slurp') ok 30 - File::Flat->can('truncate') ok 31 - File::Flat->can('write') ok 32 - No unknown public methods in 'File::Flat' ok 33 - File::Flat::Object->can('new') ok 34 - File::Flat::Object->can('exists') ok 35 - File::Flat::Object->can('errstr') ok 36 - File::Flat::Object->can('overwrite') ok 37 - File::Flat::Object->can('prune') ok 38 - File::Flat::Object->can('read') ok 39 - File::Flat::Object->can('fileSize') ok 40 - File::Flat::Object->can('remove') ok 41 - File::Flat::Object->can('isText') ok 42 - File::Flat::Object->can('canReadWrite') ok 43 - File::Flat::Object->can('getAppendHandle') ok 44 - File::Flat::Object->can('canWrite') ok 45 - File::Flat::Object->can('open') ok 46 - File::Flat::Object->can('slurp') ok 47 - File::Flat::Object->can('canRead') ok 48 - File::Flat::Object->can('write') ok 49 - File::Flat::Object->can('getReadHandle') ok 50 - File::Flat::Object->can('getReadWriteHandle') ok 51 - File::Flat::Object->can('append') ok 52 - File::Flat::Object->can('isBinary') ok 53 - File::Flat::Object->can('truncate') ok 54 - File::Flat::Object->can('canRemove') ok 55 - File::Flat::Object->can('getWriteHandle') ok 56 - File::Flat::Object->can('makeDirectory') ok 57 - File::Flat::Object->can('canOpen') ok 58 - File::Flat::Object->can('canExecute') ok 59 - File::Flat::Object->can('isaFile') ok 60 - File::Flat::Object->can('move') ok 61 - File::Flat::Object->can('copy') ok 62 - File::Flat::Object->can('isaDirectory') ok 63 - No unknown public methods in 'File::Flat::Object' ok t/01_main......1..269 ok 1 - Your perl is new enough ok 2 - use File::Flat; ok 3 - ff_text exists ok 4 - ff_binary exists ok 5 - ff_content exists ok 6 - ->_error returns undef ok 7 - ->_error sets error message ok 8 - ->errstr retrieves error message ok 9 - Static ->exists doesn't see missing file ok 10 - Static ->exists sees mode 000 file ok 11 - Static ->exists sees mode 400 file ok 12 - Static ->exists sees mode 700 file ok 13 - Static ->exists sees . directory ok 14 - Static ->exists sees mode 000 directory ok 15 - Static ->isaFile returns false for missing file ok 16 - Static ->isaFile returns true for mode 000 file ok 17 - Static ->isaFile returns true for mode 700 file ok 18 - Static ->isaFile returns false for current directory ok 19 - Static ->isaFile returns false for subdirectory ok 20 - Static ->isaDirectory returns false for missing directory ok 21 - Static ->isaDirectory returns false for mode 000 file ok 22 - Static ->isaDirectory returns false for mode 700 file ok 23 - Static ->isaDirectory returns true for current directory ok 24 - Static ->isaDirectory returns true for readable subdirectory ok 25 - Static ->isaDirectory return true for unreadable subdirectory ok 26 - Static ->canRead returns false for missing file ok 27 - Static ->canRead returns false for mode 000 file ok 28 - Static ->canRead returns true for mode 400 file ok 29 - Static ->canRead returns false for mode 200 file ok 30 - Static ->canRead returns false for mode 100 file ok 31 - Static ->canRead returns true for mode 500 file ok 32 - Static ->canRead returns true for mode 300 file ok 33 - Static ->canRead returns true for mode 700 file ok 34 - Static ->canRead returns true for current directory ok 35 - Static ->canRead returns true for readable subdirectory ok 36 - Static ->canRead returns false for unreadable subdirectory ok 37 - Static ->canWrite returns true for missing, creatable, file ok 38 - Static ->canWrite returns false for mode 000 file ok 39 - Static ->canWrite returns false for mode 400 file ok 40 - Static ->canWrite returns true for mode 200 file ok 41 - Static ->canWrite returns false for mode 100 file ok 42 - Static ->canWrite returns true for mode 500 file ok 43 - Static ->canWrite returns false for mode 300 file ok 44 - Static ->canWrite returns true for mode 700 file ok 45 - Static ->canWrite returns true for current directory ok 46 - Static ->canWrite returns true for writable subdirectory ok 47 - Static ->canWrite returns false for unwritable subdirectory ok 48 - Static ->canWrite returns false for missing, non-creatable file ok 49 - Static ->canReadWrite returns false for missing file ok 50 - Static ->canReadWrite returns false for mode 000 file ok 51 - Static ->canReadWrite returns false for mode 400 file ok 52 - Static ->canReadWrite returns false for mode 200 file ok 53 - Static ->canReadWrite returns false for mode 100 file ok 54 - Static ->canReadWrite returns true for mode 500 file ok 55 - Static ->canReadWrite returns false for mode 300 file ok 56 - Static ->canReadWrite returns true for mode 700 file ok 57 - Static ->canReadWrite returns true for current directory ok 58 - Static ->canReadWrite returns true for readwritable subdirectory ok 59 - Static ->canReadWrite returns false for unreadwritable subdirectory ok 60 - Static ->canExecute returns false for missing file ok 61 - Static ->canExecute returns false for mode 000 file ok 62 - Static ->canExecute returns false for mode 400 file ok 63 - Static ->canExecute returns false for mode 200 file ok 64 - Static ->canExecute returns true for mode 100 file ok 65 - Static ->canExecute returns false for mode 500 file ok 66 - Static ->canExecute returns true for mode 300 file ok 67 - Static ->canExecute returns true for mode 700 file ok 68 - Static ->canExecute returns true for current directory ok 69 - Static ->canExecute returns true for executable subdirectory ok 70 - Static ->canExecute returns false for unexecutable subdirectory ok 71 - Static ->canOpen returns false for missing file ok 72 - Static ->canOpen returns false for mode 000 file ok 73 - Static ->canOpen returns true for mode 400 file ok 74 - Static ->canOpen returns false for mode 200 file ok 75 - Static ->canOpen returns false for mode 100 file ok 76 - Static ->canOpen returns true for mode 500 file ok 77 - Static ->canOpen returns true for mode 300 file ok 78 - Static ->canOpen returns true for mode 700 file ok 79 - Static ->canOpen returns false for current directory ok 80 - Static ->canOpen returns false for readable subdirectory ok 81 - Static ->canOpen returns false for unreadable subdirectory ok 82 - Static ->isText returns false for missing file ok 83 - Static ->isText returns false for binary file ok 84 - Static ->isText returns true for text file ok 85 - Static ->isText returns false for good subdirectory ok 86 - Static ->isText returns false for bad subdirectory ok 87 - Static ->isBinary returns false for missing file ok 88 - Static ->isBinary returns true for binary file ok 89 - Static ->isBinary returns false for text file ok 90 - Static ->isBinary return false for good subdirectory ok 91 - Static ->isBinary returns false for bad subdirectory ok 92 - Static ->open call returns undef on bad file name ok 93 - Static ->getReadHandle returns undef on bad file name ok 94 - Static ->getWriteHandle returns undef on bad file name ok 95 - Static ->getAppendHandle returns undef on bad file name ok 96 - Static ->getReadWriteHandle returns undef on bad file name ok 97 - The object isa IO::File ok 98 - The object isa IO::File ok 99 - The object isa IO::File ok 100 - The object isa IO::File ok 101 - The object isa IO::File ok 102 - ->copy() returns error ok 103 - ->copy( file ) returns error ok 104 - Static ->copy returns true correctly for same directory copy ok 105 - Static ->copy actually created the file for same directory copy ok 106 - Static ->copy copies the file without breaking it ok 107 - Static ->copy returns true correctly for single sub-directory copy ok 108 - Static ->copy actually created the file for single sub-directory copy ok 109 - Static ->copy returns true correctly for multiple sub-directory copy ok 110 - Static ->copy actually created the file for multiple sub-directory copy ok 111 - Static ->copy return undef when file does not exist ok 112 - ->copy( dir, dir ) returns true ok 113 - ->copy( dir, dir ): New dir exists ok 114 - ->copy( dir, dir ): Files within directory were copied ok 115 - Static ->move for move to existing directory returns true ok 116 - Static ->move for move to existing directory actually removes the old file ok 117 - Static ->move for move to existing directory actually creates the new file ok 118 - Static ->move for move to new directory returns true ok 119 - Static ->move for move to new directory actually removes the old file ok 120 - Static ->move for move to new directory actually creates the new file ok 121 - Static ->move moved the file without breaking it ok 122 - Content tester works ok 123 - Static ->slurp returns error on no arguments ok 124 - Static ->slurp returns error on bad file ok 125 - Static ->slurp returns defined ok 126 - Static ->slurp returns something ok 127 - Static ->slurp returns a scalar reference ok 128 - Static ->slurp returns content ok 129 - Static ->slurp returns the correct file contents ok 130 - Static ->read returns error on no arguments ok 131 - Static ->read returns error on bad file ok 132 - Static ->read doesn't error on good file ok 133 - Static ->read returns true on good file ok 134 - Static ->read returns a reference on good file ok 135 - Static ->read returns an array ref on good file ok 136 - Static ->read returns the correct length of data ok 137 - Static ->read returns the expected content ok 138 - Static ->read (array context) returns error on no arguments ok 139 - Static ->read (array context) returns error on bad file ok 140 - Static ->read (array context) doesn't error on good file ok 141 - Static ->read (array context) returns the correct length of data ok 142 - Static ->read (array context) returns the expected content ok 143 - ->write() fails correctly ok 144 - ->write( file ) fails correctly ok 145 - ->write( file ) doesn't actually create a file ok 146 - ->File::Flat->write( file, string ) returns true ok 147 - ->write( file, string ) actually creates a file ok 148 - ->write( file, string ) writes the correct content ok 149 - ->File::Flat->write( file, string_ref ) returns true ok 150 - ->write( file, string_ref ) actually creates a file ok 151 - ->write( file, string_ref ) writes the correct content ok 152 - ->write( file, array_ref ) returns true ok 153 - ->write( file, array_ref ) actually creates a file ok 154 - ->write( file, array_ref ) writes the correct content ok 155 - ->write( handle ) fails correctly ok 156 - Got write handle for test ok 157 - ->write( handle, string ) returns true ok 158 - ->write( handle, string ) actually creates a file ok 159 - ->write( handle, string ) writes the correct content ok 160 - Got write handle for test ok 161 - ->File::Flat->write( handle, string_ref ) returns true ok 162 - ->write( handle, string_ref ) actually creates a file ok 163 - ->write( handle, string_ref ) writes the correct content ok 164 - Got write handle for test ok 165 - ->File::Flat->write( handle, array_ref ) returns true ok 166 - ->write( handle, array_ref ) actually creates a file ok 167 - ->write( handle, array_ref ) writes the correct content ok 168 - ->overwrite() fails correctly ok 169 - ->overwrite( file ) fails correctly ok 170 - ->overwrite( file ) doesn't actually create a file ok 171 - ->File::Flat->overwrite( file, string ) returns true ok 172 - ->overwrite( file, string ) actually creates a file ok 173 - ->overwrite( file, string ) writes the correct content ok 174 - ->File::Flat->overwrite( file, string_ref ) returns true ok 175 - ->overwrite( file, string_ref ) actually creates a file ok 176 - ->overwrite( file, string_ref ) writes the correct content ok 177 - ->overwrite( file, array_ref ) returns true ok 178 - ->overwrite( file, array_ref ) actually creates a file ok 179 - ->overwrite( file, array_ref ) writes the correct content ok 180 - Preparing for overwrite test ok 181 - ->overwrite( file, array_ref ) returns true ok 182 - ->overwrite( file, array_ref ) actually creates a file ok 183 - ->overwrite( file, array_ref ) writes the correct content ok 184 - ->remove() correctly return an error ok 185 - ->remove( file ) returns an error for a nonexistant file ok 186 - ->remove( file ) returns true for existing file ok 187 - ->remove( file ) actually removes the file ok 188 - ->remove( directory ) returns true for existing directory ok 189 - ->remove( directory ) actually removes the directory ok 190 - ->append() correctly returns an error ok 191 - ->append( file ) correctly returns an error ok 192 - ->append( file ) doesn't actually create a file ok 193 - ->File::Flat->append( file, string ) returns true ok 194 - ->append( file, string ) actually creates a file ok 195 - ->append( file, string ) writes the correct content ok 196 - ->File::Flat->append( file, string_ref ) returns true ok 197 - ->append( file, string_ref ) actually creates a file ok 198 - ->append( file, string_ref ) writes the correct content ok 199 - ->append( file, array_ref ) returns true ok 200 - ->append( file, array_ref ) actually creates a file ok 201 - ->append( file, array_ref ) writes the correct content ok 202 - Preparing for real append ok 203 - ->append( file, array_ref ) for an actual append returns true ok 204 - ->append( file, array_ref ): File still exists ok 205 - ->append( file, array_ref ) results in the correct file contents ok 206 - Preparing for file size tests ok 207 - ->fileSize() correctly returns error ok 208 - ->fileSize( file ) returns error for nonexistant file ok 209 - ->fileSize( directory ) returns error ok 210 - ->fileSize( file ) returns true for small file ok 211 - ->fileSize( file ) returns the correct size for small file ok 212 - ->fileSize( file ) returns true for big file ok 213 - ->fileSize( file ) returns the correct size for big file ok 214 - ->fileSize( file ) returns true for empty file ok 215 - ->fileSize( file ) returns the correct size for empty file ok 216 - ->truncate() correctly returns error ok 217 - ->truncate( file ) returns error when no permissions ok 218 - ->truncate( directory ) returns error ok 219 - ->truncate( file ) returns true for non-existant file ok 220 - ->truncate( file ) creates new file ok 221 - ->truncate( file ) creates file of 0 bytes ok 222 - ->truncate( file ) returns true for existing file ok 223 - ->truncate( file ): File still exists ok 224 - ->truncate( file ) truncates to 0 bytes ok 225 - ->truncate( file, 0 ) returns true for existing file ok 226 - ->truncate( file, 0 ): File still exists ok 227 - ->truncate( file, 0 ) truncates to 0 bytes ok 228 - ->truncate( file, 5 ) returns true for existing file ok 229 - ->truncate( file, 5 ): File still exists ok 230 - ->truncate( file, 5 ) truncates to 5 bytes ok 231 - Created test directory 'prunedir/single' ok 232 - Created test directory 'prunedir/multiple/lots/of/dirs' ok 233 - Created test directory 'prunedir/onlyone/thisone' ok 234 - Created test directory 'prunedir/onlyone/notthis' ok 235 - Created test directory 'prunedir/onlyone/notthis/orthis' ok 236 - ->prune(single) returned true ok 237 - ->prune(single) removed the single ok 238 - ->prune(single) didn't remove the master prunedir ok 239 - ->prune(multiple) returned true ok 240 - ->prune(multiple) removed the top dir ok 241 - ->prune(multiple) removed all the dirs ok 242 - ->prune(multiple) didn't remove the master prunedir ok 243 - ->prune(branched) returned true ok 244 - ->prune(branched) removed the correct directory ok 245 - ->prune(branched) doesn't remove side directory ok 246 - ->prune(branched) didn't remove the master prunedir ok 247 - ->prune(nothing) returned true ok 248 - ->prune(nothing) doesn't remove side directory ok 249 - ->prune(nothing) didn't remove the master prunedir ok 250 - ->prune(existing) returns an error ok 251 - ->prune(existing) sets ->errstr ok 252 - Copied in delete/prune test file ok 253 - Copied in delete/prune test file ok 254 - Copied in delete/prune test file ok 255 - Copied in delete/prune test file ok 256 - Copied in delete/prune test file ok 257 - Copied in delete/prune test file ok 258 - ->remove(default) returns true ok 259 - ->remove(default) leaves dir intact ok 260 - ->remove(AUTO_PRUNE) returns true ok 261 - ->remove(AUTO_PRUNE) prunes directory ok 262 - ->remove(default) returns true ok 263 - ->remove(default) leaves dir intact (AUTO_PRUNE used locally localises correctly) ok 264 - ->remove(prune) returns true ok 265 - ->remove(AUTO_PRUNE) prunes directory ok 266 - ->remove(noprune) returns true ok 267 - ->remove(noprune) leaves dir intact ok 268 - ->remove(noprune) returns true ok 269 - ->remove(noprune) leaves dir intact ok t/99_author....1..0 # Skip Test::Pod 1.00 required for testing POD skipped all skipped: Test::Pod 1.00 required for testing POD All tests successful, 1 test skipped. Files=3, Tests=332, 8 wallclock secs ( 5.86 cusr + 1.20 csys = 7.06 CPU) Installing /home/cpanrun/pa-risc1.1/build/5.6.1/lib/site_perl/5.6.1/File/Flat.pm Installing /home/cpanrun/pa-risc1.1/build/5.6.1/man/man3/File::Flat.3 Writing /home/cpanrun/pa-risc1.1/build/5.6.1/lib/site_perl/5.6.1/PA-RISC1.1-thread-multi/auto/File/Flat/.packlist Appending installation info to /home/cpanrun/pa-risc1.1/build/5.6.1/lib/5.6.1/PA-RISC1.1-thread-multi/perllocal.pod