PATH=/opt/SUNWspro/bin:/usr/local/bin:/opt/csw/bin:/usr/ccs/bin:/usr/bin:/usr/sbin Start 2011-07-09T13:55:49 ActivePerl-1200 CPAN-1.9402 Going to read '/export/home/fly1264/var/cpan/Metadata' Database was generated on Sat, 09 Jul 2011 18:27:20 GMT Running make for M/MA/MARKSTOS/CGI-Session-4.47.tar.gz Checksum for /net/nas/data/cpan/authors/id/M/MA/MARKSTOS/CGI-Session-4.47.tar.gz ok CGI-Session-4.47 CGI-Session-4.47/Makefile.PL CGI-Session-4.47/Build.PL CGI-Session-4.47/META.yml CGI-Session-4.47/Changelog.ini CGI-Session-4.47/MANIFEST.SKIP CGI-Session-4.47/Changes CGI-Session-4.47/INSTALL CGI-Session-4.47/META.json CGI-Session-4.47/MANIFEST CGI-Session-4.47/README CGI-Session-4.47/t CGI-Session-4.47/t/api3_file_storable.t CGI-Session-4.47/t/symlink_file.t CGI-Session-4.47/t/expire.t CGI-Session-4.47/t/api3_db_file.t CGI-Session-4.47/t/load_with_undef.t CGI-Session-4.47/t/g4_sqlite_storable.t CGI-Session-4.47/t/g4_mysql_freezethaw.t CGI-Session-4.47/t/header.t CGI-Session-4.47/t/g4_storable.t CGI-Session-4.47/t/is_new.t CGI-Session-4.47/t/flush.t CGI-Session-4.47/t/g4_dbfile_storable.t CGI-Session-4.47/t/g4_dbfile_freezethaw.t CGI-Session-4.47/t/cgi_simple.t CGI-Session-4.47/t/g4_sqlite.t CGI-Session-4.47/t/g4_postgresql.t CGI-Session-4.47/t/remote_addr.t CGI-Session-4.47/t/api3_db_file_storable_incr.t CGI-Session-4.47/t/find.t CGI-Session-4.47/t/api3_obj_store.t CGI-Session-4.47/t/load.t CGI-Session-4.47/t/bug21952.t CGI-Session-4.47/t/g4_freezethaw.t CGI-Session-4.47/t/api3_file_freezethaw.t CGI-Session-4.47/t/bug24285.t CGI-Session-4.47/t/session_param_undef.t CGI-Session-4.47/t/parse_dsn.t CGI-Session-4.47/t/api3_file.t CGI-Session-4.47/t/g4_postgresql_storable.t CGI-Session-4.47/t/g4_mysql.t CGI-Session-4.47/t/str2seconds.t CGI-Session-4.47/t/name.t CGI-Session-4.47/t/g4_sqlite_freezethaw.t CGI-Session-4.47/t/ip_matches.t CGI-Session-4.47/t/api3_file_storable_incr.t CGI-Session-4.47/t/g4_dbfile.t CGI-Session-4.47/t/complex_ds.t CGI-Session-4.47/t/api3_db_file_freezethaw.t CGI-Session-4.47/t/api3_obj_store_db_file.t CGI-Session-4.47/t/api3_incr.t CGI-Session-4.47/t/api3_file_freezethaw_incr.t CGI-Session-4.47/t/driver_dbi.t CGI-Session-4.47/t/g4_postgresql_freezethaw.t CGI-Session-4.47/t/g4.t CGI-Session-4.47/t/bug21981.todo CGI-Session-4.47/t/g4_mysql_storable.t CGI-Session-4.47/t/symlink_db_file.t CGI-Session-4.47/t/api3_db_file_storable.t CGI-Session-4.47/t/new_with_undef.t CGI-Session-4.47/lib CGI-Session-4.47/lib/CGI CGI-Session-4.47/lib/CGI/Session.pm CGI-Session-4.47/lib/CGI/Session CGI-Session-4.47/lib/CGI/Session/Driver.pm CGI-Session-4.47/lib/CGI/Session/Tutorial.pm CGI-Session-4.47/lib/CGI/Session/ErrorHandler.pm CGI-Session-4.47/lib/CGI/Session/Serialize CGI-Session-4.47/lib/CGI/Session/Serialize/default.pm CGI-Session-4.47/lib/CGI/Session/Serialize/freezethaw.pm CGI-Session-4.47/lib/CGI/Session/Serialize/storable.pm CGI-Session-4.47/lib/CGI/Session/Test CGI-Session-4.47/lib/CGI/Session/Test/Default.pm CGI-Session-4.47/lib/CGI/Session/Driver CGI-Session-4.47/lib/CGI/Session/Driver/DBI.pm CGI-Session-4.47/lib/CGI/Session/Driver/mysql.pm CGI-Session-4.47/lib/CGI/Session/Driver/postgresql.pm CGI-Session-4.47/lib/CGI/Session/Driver/db_file.pm CGI-Session-4.47/lib/CGI/Session/Driver/file.pm CGI-Session-4.47/lib/CGI/Session/Driver/sqlite.pm CGI-Session-4.47/lib/CGI/Session/ID CGI-Session-4.47/lib/CGI/Session/ID/static.pm CGI-Session-4.47/lib/CGI/Session/ID/md5.pm CGI-Session-4.47/lib/CGI/Session/ID/incr.pm CGI-Session-4.47/examples CGI-Session-4.47/examples/subscriptions.cgi CGI-Session-4.47/examples/purge.pl CPAN.pm: Going to build M/MA/MARKSTOS/CGI-Session-4.47.tar.gz >>> /export/home/fly1264/bin/perl Makefile.PL ---------------------------------------- #### WARNING #### If you are using custom CGI::Session drivers they may not be compatible with the current driver specifications. You will need to make some changes to your drivers' code before proceeding with this installation to make it compatible with CGI::Session 4.x. Fortunately, current driver specifications are a lot easier to adapt to. Should you have any assistance re-coding your current drivers, please let me know. Current driver specs are documented in CGI/Session/Driver.pm #### TESTING ##### You are encouraged to run tests for the backend you will be using. The database backends that need a customized connection string won't run by default. To run them, some environment variables must be set. The simplest method is to use the standard "DBI_DSN/DBI_USER/DBI_PASS" environment variables. Otherwise, you can set these variables: For PostgreSQL: CGISESS_PG_DSN CGISESS_PG_USER CGISESS_PG_PASS For MySQL: CGISESS_MYSQL_DSN CGISESS_MYSQL_USER CGISESS_MYSQL_PASS CGISESS_MYSQL_SOCKET ---------------------------------------- Regenerating Changelog.ini... WARNING: EXTRA_META is not a known parameter. Warning: Module::Metadata::Changes's ini.report.pl failed to generate or update Changelog.ini. ---------------------------------------- Checking if your kit is complete... Warning: the following files are missing in your kit: MYMETA.json Please inform the author. 'EXTRA_META' is not a known MakeMaker parameter name. Writing Makefile for CGI::Session >>> make cp lib/CGI/Session/Test/Default.pm blib/lib/CGI/Session/Test/Default.pm cp lib/CGI/Session/Driver/postgresql.pm blib/lib/CGI/Session/Driver/postgresql.pm cp lib/CGI/Session/Driver/sqlite.pm blib/lib/CGI/Session/Driver/sqlite.pm cp lib/CGI/Session/Driver.pm blib/lib/CGI/Session/Driver.pm cp lib/CGI/Session/Serialize/storable.pm blib/lib/CGI/Session/Serialize/storable.pm cp lib/CGI/Session/ID/static.pm blib/lib/CGI/Session/ID/static.pm cp lib/CGI/Session/Driver/mysql.pm blib/lib/CGI/Session/Driver/mysql.pm cp lib/CGI/Session/Driver/db_file.pm blib/lib/CGI/Session/Driver/db_file.pm cp lib/CGI/Session.pm blib/lib/CGI/Session.pm cp lib/CGI/Session/Driver/DBI.pm blib/lib/CGI/Session/Driver/DBI.pm cp lib/CGI/Session/ID/incr.pm blib/lib/CGI/Session/ID/incr.pm cp lib/CGI/Session/Tutorial.pm blib/lib/CGI/Session/Tutorial.pm cp lib/CGI/Session/Serialize/freezethaw.pm blib/lib/CGI/Session/Serialize/freezethaw.pm cp lib/CGI/Session/ErrorHandler.pm blib/lib/CGI/Session/ErrorHandler.pm cp lib/CGI/Session/Serialize/default.pm blib/lib/CGI/Session/Serialize/default.pm cp lib/CGI/Session/Driver/file.pm blib/lib/CGI/Session/Driver/file.pm cp lib/CGI/Session/ID/md5.pm blib/lib/CGI/Session/ID/md5.pm Manifying blib/man3/CGI::Session::Test::Default.3 Manifying blib/man3/CGI::Session::Driver::postgresql.3 Manifying blib/man3/CGI::Session::Driver::sqlite.3 Manifying blib/man3/CGI::Session::Driver.3 Manifying blib/man3/CGI::Session::ID::static.3 Manifying blib/man3/CGI::Session::Serialize::storable.3 Manifying blib/man3/CGI::Session::Driver::db_file.3 Manifying blib/man3/CGI::Session::Driver::mysql.3 Manifying blib/man3/CGI::Session.3 Manifying blib/man3/CGI::Session::Driver::DBI.3 Manifying blib/man3/CGI::Session::ID::incr.3 Manifying blib/man3/CGI::Session::Tutorial.3 Manifying blib/man3/CGI::Session::Serialize::freezethaw.3 Manifying blib/man3/CGI::Session::ErrorHandler.3 Manifying blib/man3/CGI::Session::Serialize::default.3 Manifying blib/man3/CGI::Session::Driver::file.3 Manifying blib/man3/CGI::Session::ID::md5.3 MARKSTOS/CGI-Session-4.47.tar.gz make -- OK Running make test >>> make test TEST_VERBOSE=1 PERL_DL_NONLAZY=1 /export/home/fly1264/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib/lib', 'blib/arch')" t/*.t t/api3_db_file.t ................ skipped: DB_File not available t/api3_db_file_freezethaw.t ..... skipped: DB_File not available t/api3_db_file_storable.t ....... skipped: DB_File not available t/api3_db_file_storable_incr.t .. skipped: DB_File not available t/api3_file.t ................... 1..17 ok 1 - use CGI::Session; ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 ok 11 ok 12 - found email param in session ok 13 - found author param in session ok 14 ok 15 - $s->clear("name") survives eval ok 16 - email param is cleared from session ok 17 - author param is still in session ok t/api3_file_freezethaw.t ........ 1..14 ok 1 - use CGI::Session; ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 ok 11 ok 12 ok 13 ok 14 ok t/api3_file_freezethaw_incr.t ... 1..15 ok 1 - use File::Spec; ok 2 - use CGI::Session; ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 ok 11 ok 12 ok 13 ok 14 ok 15 ok t/api3_file_storable.t .......... 1..14 ok 1 - use CGI::Session; ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 ok 11 ok 12 ok 13 ok 14 ok t/api3_file_storable_incr.t ..... 1..15 ok 1 - use File::Spec; ok 2 - use CGI::Session; ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 ok 11 ok 12 ok 13 ok 14 ok 15 ok t/api3_incr.t ................... 1..14 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 ok 11 ok 12 ok 13 ok 14 ok #Using FreezeThaw as object serializer t/api3_obj_store.t .............. 1..8 ok ok ok ok ok ok ok ok ok t/api3_obj_store_db_file.t ...... skipped: DB_File is not available t/bug21952.t .................... ok 1 - use CGI; ok 2 - use CGI::Session; ok 3 - use CGI::Session::Driver; ok 4 - use CGI::Session::Driver::file; ok 5 - $opt_dsn is HASH ok 6 ok 7 ok 8 - $opt_dsn is HASH ok 9 - Session object is no longer available ok 10 - $opt_dsn still exists ok 11 - $opt_dsn is still a hashref 1..11 ok t/bug24285.t .................... ok 1 - Created CGI::Session object successfully ok 2 - Created file outside /tmp successfully 1..2 ok t/cgi_simple.t .................. ok 1 - survives eval ok 2 - CGI::Simple object is accepted when passed to new() ok 3 - cookie() method works with CGI::Simple ok 4 - http_header() method works with CGI::Simple 1..4 ok t/complex_ds.t .................. 1..10 ok 1 ok 2 ok 3 ok 4 - Test 1 ok 5 - Test 2 ok 6 - Bir ok 7 ok 8 - Test 1 ok 9 - Test 2 ok 10 - Bir ok t/driver_dbi.t .................. ok 1 - use CGI::Session::Driver::DBI; ok 2 - retrieve returns expected failure message when no session id is given ok 3 - traverse returns expected failure message when no session id is given 1..3 ok t/expire.t ...................... ok 1 - undef is returned if nothing has been set yet. ok 2 - basic set/get check ok 3 - negative set/get check ok 4 - zero cancels expiration ok 5 - setting expiration for a single param works ok 6 - zero expires parameters 1..6 ok # The found session has been deleted and flushed t/find.t ........................ 1..7 ok 1 - The test session has been created ok 2 - The test session's id has been set ok 3 - The test session's parameter called 'purpose' has been set ok 4 - CGI::Session::find() found a session whose class isa CGI::Session ok 5 - The found session's param called 'purpose' has a true value ok 6 - The found session's param called 'purpose' has the expected value ok 7 - find() returned no errors ok t/flush.t ....................... ok 1 - found session id ok 2 - found session data file 1..2 ok t/g4.t .......................... 1..101 ok 1 - use CGI::Session; ok 2 - === 1 === ok 3 - empty session should be created ok 4 - Id is empty ok 5 - Session is empty ok 6 - Session is not expired ok 7 - Session created successfully! ok 8 - ok 9 - ctime & atime are set ok 10 - ctime == atime ok 11 - etime not set yet ok 12 - session id is f5d21fc7ea29461dc3638abecb23f68f ok 13 - session holds 3 params3 ok 14 - My name's correct! ok 15 - 'emails' holds list of values ok 16 - 'emails' holds list of two values ok 17 - first value of 'emails' is correct! ok 18 - second value of 'emails' is correct! ok 19 - 'blogs' holds a hash ok 20 - first blog is correct ok 21 - second blog is correct ok 22 - === 2 === ok 23 - survived eval without error. ok 24 - Session was retrieved successfully ok 25 - session isn't expired yet ok 26 - session IDs are consistent ok 27 - ctime should be older than atime ok 28 - etime shouldn't be set yet ok 29 - session should hold params ok 30 - my name's correct ok 31 - 'emails' should hold list of values ok 32 - 'emails' should hold list of two values ok 33 - first value is correct! ok 34 - second value is correct! ok 35 - 'blogs' holds a hash ok 36 - first blog is correct! ok 37 - second blog is correct! ok 38 - etime set to 1 second ok 39 - etime set to one minute ok 40 - etime set to two hours ok 41 - etime set to 5 days ok 42 - etime set to 10 seconds in the past ok 43 - etime set back to one second ok 44 - calling close method survives eval ok 45 - === 3 === ok 46 - Session instance loaded ok 47 - session doesn't have ID ok 48 - session is empty, which is the same as above ok 49 - session was expired ok 50 - session data cleared ok 51 - new session created ok 52 - session has id :d4bac7d865ee29707d8a1382b51727a6 ok 53 - session isn't expired ok 54 - session isn't empty ok 55 - access and creation times are same ok 56 - it's a completely different session than above ok 57 - === 4 === ok 58 - Session 'd4bac7d865ee29707d8a1382b51727a6' removed from datastore successfully ok 59 - session object created successfully ok 60 - claimed ID (d4bac7d865ee29707d8a1382b51727a6) couldn't be recovered. New ID is: 5f1c216c4723aceeb7b7eb771a650022 ok 61 - === 5 === ok 62 - Session object created successfully ok 63 - claimed id (5f1c216c4723aceeb7b7eb771a650022) was recovered successfully! ok 64 - === 6 === ok 65 - Session object created successfully ok 66 - New object created, because previous object was deleted ok 67 - CGI::Session::Test::SimpleObjectClass created successfully ok 68 ok 69 ok 70 ok 71 - OverloadedClass created successfully ok 72 - OverloadedClass is properly overloaded ok 73 - OverloadedClass is an object ok 74 ok 75 - CGI::Session::Test::SimpleObjectClass created successfully ok 76 - First element of anonymous array undef ok 77 ok 78 ok 79 ok 80 ok 81 - Overloaded objects have matching addresses ok 82 - === 7 === ok 83 - Session object created successfully ok 84 - Previously stored object loaded successfully ok 85 - CGI::Session::Test::SimpleObjectClass loaded successfully ok 86 - ok 87 - ok 88 - ok 89 - ok 90 ok 91 - Object is still overloaded ok 92 - Object is really overloaded ok 93 - First element of anonymous array undef ok 94 - CGI::Session::Test::SimpleObjectClass loaded successfully ok 95 - ok 96 - ok 97 - ok 98 - ok 99 ok 100 - Object is really overloaded ok 101 - Overloaded objects have matching addresses ok t/g4_dbfile.t ................... skipped: DB_File is NOT available t/g4_dbfile_freezethaw.t ........ skipped: DB_File is NOT available t/g4_dbfile_storable.t .......... skipped: DB_File is NOT available t/g4_freezethaw.t ............... 1..101 ok 1 - use CGI::Session; ok 2 - === 1 === ok 3 - empty session should be created ok 4 - Id is empty ok 5 - Session is empty ok 6 - Session is not expired ok 7 - Session created successfully! ok 8 - ok 9 - ctime & atime are set ok 10 - ctime == atime ok 11 - etime not set yet ok 12 - session id is 9f2538564262460eca14def8d7645ce8 ok 13 - session holds 3 params3 ok 14 - My name's correct! ok 15 - 'emails' holds list of values ok 16 - 'emails' holds list of two values ok 17 - first value of 'emails' is correct! ok 18 - second value of 'emails' is correct! ok 19 - 'blogs' holds a hash ok 20 - first blog is correct ok 21 - second blog is correct ok 22 - === 2 === ok 23 - survived eval without error. ok 24 - Session was retrieved successfully ok 25 - session isn't expired yet ok 26 - session IDs are consistent ok 27 - ctime should be older than atime ok 28 - etime shouldn't be set yet ok 29 - session should hold params ok 30 - my name's correct ok 31 - 'emails' should hold list of values ok 32 - 'emails' should hold list of two values ok 33 - first value is correct! ok 34 - second value is correct! ok 35 - 'blogs' holds a hash ok 36 - first blog is correct! ok 37 - second blog is correct! ok 38 - etime set to 1 second ok 39 - etime set to one minute ok 40 - etime set to two hours ok 41 - etime set to 5 days ok 42 - etime set to 10 seconds in the past ok 43 - etime set back to one second ok 44 - calling close method survives eval ok 45 - === 3 === ok 46 - Session instance loaded ok 47 - session doesn't have ID ok 48 - session is empty, which is the same as above ok 49 - session was expired ok 50 - session data cleared ok 51 - new session created ok 52 - session has id :87d9d8de942d5fc5f754a88739b7156b ok 53 - session isn't expired ok 54 - session isn't empty ok 55 - access and creation times are same ok 56 - it's a completely different session than above ok 57 - === 4 === ok 58 - Session '87d9d8de942d5fc5f754a88739b7156b' removed from datastore successfully ok 59 - session object created successfully ok 60 - claimed ID (87d9d8de942d5fc5f754a88739b7156b) couldn't be recovered. New ID is: daef72f49130a207361a6a19ddd6e9c3 ok 61 - === 5 === ok 62 - Session object created successfully ok 63 - claimed id (daef72f49130a207361a6a19ddd6e9c3) was recovered successfully! ok 64 - === 6 === ok 65 - Session object created successfully ok 66 - New object created, because previous object was deleted ok 67 - CGI::Session::Test::SimpleObjectClass created successfully ok 68 ok 69 ok 70 ok 71 - OverloadedClass created successfully ok 72 - OverloadedClass is properly overloaded ok 73 - OverloadedClass is an object ok 74 ok 75 - CGI::Session::Test::SimpleObjectClass created successfully ok 76 - First element of anonymous array undef ok 77 ok 78 ok 79 ok 80 ok 81 - Overloaded objects have matching addresses ok 82 - === 7 === ok 83 - Session object created successfully ok 84 - Previously stored object loaded successfully ok 85 - CGI::Session::Test::SimpleObjectClass loaded successfully ok 86 - ok 87 - ok 88 - ok 89 - ok 90 ok 91 - Object is still overloaded ok 92 - Object is really overloaded ok 93 - First element of anonymous array undef ok 94 - CGI::Session::Test::SimpleObjectClass loaded successfully ok 95 - ok 96 - ok 97 - ok 98 - ok 99 ok 100 - Object is really overloaded ok 101 - Overloaded objects have matching addresses ok t/g4_mysql.t .................... skipped: DBD::mysql is NOT available t/g4_mysql_freezethaw.t ......... skipped: DBD::mysql is NOT available t/g4_mysql_storable.t ........... skipped: DBD::mysql is NOT available t/g4_postgresql.t ............... skipped: DataSource is not known t/g4_postgresql_freezethaw.t .... skipped: DataSource is not known t/g4_postgresql_storable.t ...... skipped: DataSource is not known t/g4_sqlite.t ................... 1..105 ok 1 - Correct information has been saved in the session... ok 2 - Only one copy of the session file... ok 3 - Information is retrieved from past session alright... ok 4 - Still only one copy of the session... ok 5 - use CGI::Session; ok 6 - === 1 === ok 7 - empty session should be created ok 8 - Id is empty ok 9 - Session is empty ok 10 - Session is not expired ok 11 - Session created successfully! ok 12 - ok 13 - ctime & atime are set ok 14 - ctime == atime ok 15 - etime not set yet ok 16 - session id is 6943e7cf583550d0466bf1262230edde ok 17 - session holds 3 params3 ok 18 - My name's correct! ok 19 - 'emails' holds list of values ok 20 - 'emails' holds list of two values ok 21 - first value of 'emails' is correct! ok 22 - second value of 'emails' is correct! ok 23 - 'blogs' holds a hash ok 24 - first blog is correct ok 25 - second blog is correct ok 26 - === 2 === ok 27 - survived eval without error. ok 28 - Session was retrieved successfully ok 29 - session isn't expired yet ok 30 - session IDs are consistent ok 31 - ctime should be older than atime ok 32 - etime shouldn't be set yet ok 33 - session should hold params ok 34 - my name's correct ok 35 - 'emails' should hold list of values ok 36 - 'emails' should hold list of two values ok 37 - first value is correct! ok 38 - second value is correct! ok 39 - 'blogs' holds a hash ok 40 - first blog is correct! ok 41 - second blog is correct! ok 42 - etime set to 1 second ok 43 - etime set to one minute ok 44 - etime set to two hours ok 45 - etime set to 5 days ok 46 - etime set to 10 seconds in the past ok 47 - etime set back to one second ok 48 - calling close method survives eval ok 49 - === 3 === ok 50 - Session instance loaded ok 51 - session doesn't have ID ok 52 - session is empty, which is the same as above ok 53 - session was expired ok 54 - session data cleared ok 55 - new session created ok 56 - session has id :3da43172494fe9a918cdba5efc711154 ok 57 - session isn't expired ok 58 - session isn't empty ok 59 - access and creation times are same ok 60 - it's a completely different session than above ok 61 - === 4 === ok 62 - Session '3da43172494fe9a918cdba5efc711154' removed from datastore successfully ok 63 - session object created successfully ok 64 - claimed ID (3da43172494fe9a918cdba5efc711154) couldn't be recovered. New ID is: 24bc777f2d8aa5c7c8e7fa348b1b5758 ok 65 - === 5 === ok 66 - Session object created successfully ok 67 - claimed id (24bc777f2d8aa5c7c8e7fa348b1b5758) was recovered successfully! ok 68 - === 6 === ok 69 - Session object created successfully ok 70 - New object created, because previous object was deleted ok 71 - CGI::Session::Test::SimpleObjectClass created successfully ok 72 ok 73 ok 74 ok 75 - OverloadedClass created successfully ok 76 - OverloadedClass is properly overloaded ok 77 - OverloadedClass is an object ok 78 ok 79 - CGI::Session::Test::SimpleObjectClass created successfully ok 80 - First element of anonymous array undef ok 81 ok 82 ok 83 ok 84 ok 85 - Overloaded objects have matching addresses ok 86 - === 7 === ok 87 - Session object created successfully ok 88 - Previously stored object loaded successfully ok 89 - CGI::Session::Test::SimpleObjectClass loaded successfully ok 90 - ok 91 - ok 92 - ok 93 - ok 94 ok 95 - Object is still overloaded ok 96 - Object is really overloaded ok 97 - First element of anonymous array undef ok 98 - CGI::Session::Test::SimpleObjectClass loaded successfully ok 99 - ok 100 - ok 101 - ok 102 - ok 103 ok 104 - Object is really overloaded ok 105 - Overloaded objects have matching addresses ok t/g4_sqlite_freezethaw.t ........ 1..101 ok 1 - use CGI::Session; ok 2 - === 1 === ok 3 - empty session should be created ok 4 - Id is empty ok 5 - Session is empty ok 6 - Session is not expired ok 7 - Session created successfully! ok 8 - ok 9 - ctime & atime are set ok 10 - ctime == atime ok 11 - etime not set yet ok 12 - session id is d139cb7ede4a0e33f8ef9f556ca2013f ok 13 - session holds 3 params3 ok 14 - My name's correct! ok 15 - 'emails' holds list of values ok 16 - 'emails' holds list of two values ok 17 - first value of 'emails' is correct! ok 18 - second value of 'emails' is correct! ok 19 - 'blogs' holds a hash ok 20 - first blog is correct ok 21 - second blog is correct ok 22 - === 2 === ok 23 - survived eval without error. ok 24 - Session was retrieved successfully ok 25 - session isn't expired yet ok 26 - session IDs are consistent ok 27 - ctime should be older than atime ok 28 - etime shouldn't be set yet ok 29 - session should hold params ok 30 - my name's correct ok 31 - 'emails' should hold list of values ok 32 - 'emails' should hold list of two values ok 33 - first value is correct! ok 34 - second value is correct! ok 35 - 'blogs' holds a hash ok 36 - first blog is correct! ok 37 - second blog is correct! ok 38 - etime set to 1 second ok 39 - etime set to one minute ok 40 - etime set to two hours ok 41 - etime set to 5 days ok 42 - etime set to 10 seconds in the past ok 43 - etime set back to one second ok 44 - calling close method survives eval ok 45 - === 3 === ok 46 - Session instance loaded ok 47 - session doesn't have ID ok 48 - session is empty, which is the same as above ok 49 - session was expired ok 50 - session data cleared ok 51 - new session created ok 52 - session has id :569d9e74ddd72476ea4430b631cfe043 ok 53 - session isn't expired ok 54 - session isn't empty ok 55 - access and creation times are same ok 56 - it's a completely different session than above ok 57 - === 4 === ok 58 - Session '569d9e74ddd72476ea4430b631cfe043' removed from datastore successfully ok 59 - session object created successfully ok 60 - claimed ID (569d9e74ddd72476ea4430b631cfe043) couldn't be recovered. New ID is: 5f1bc3e0e621c9deb1c9186054d4e908 ok 61 - === 5 === ok 62 - Session object created successfully ok 63 - claimed id (5f1bc3e0e621c9deb1c9186054d4e908) was recovered successfully! ok 64 - === 6 === ok 65 - Session object created successfully ok 66 - New object created, because previous object was deleted ok 67 - CGI::Session::Test::SimpleObjectClass created successfully ok 68 ok 69 ok 70 ok 71 - OverloadedClass created successfully ok 72 - OverloadedClass is properly overloaded ok 73 - OverloadedClass is an object ok 74 ok 75 - CGI::Session::Test::SimpleObjectClass created successfully ok 76 - First element of anonymous array undef ok 77 ok 78 ok 79 ok 80 ok 81 - Overloaded objects have matching addresses ok 82 - === 7 === ok 83 - Session object created successfully ok 84 - Previously stored object loaded successfully ok 85 - CGI::Session::Test::SimpleObjectClass loaded successfully ok 86 - ok 87 - ok 88 - ok 89 - ok 90 ok 91 - Object is still overloaded ok 92 - Object is really overloaded ok 93 - First element of anonymous array undef ok 94 - CGI::Session::Test::SimpleObjectClass loaded successfully ok 95 - ok 96 - ok 97 - ok 98 - ok 99 ok 100 - Object is really overloaded ok 101 - Overloaded objects have matching addresses ok t/g4_sqlite_storable.t .......... 1..101 ok 1 - use CGI::Session; ok 2 - === 1 === ok 3 - empty session should be created ok 4 - Id is empty ok 5 - Session is empty ok 6 - Session is not expired ok 7 - Session created successfully! ok 8 - ok 9 - ctime & atime are set ok 10 - ctime == atime ok 11 - etime not set yet ok 12 - session id is 844123f44a8b07b6ab02de22e0d4e38d ok 13 - session holds 3 params3 ok 14 - My name's correct! ok 15 - 'emails' holds list of values ok 16 - 'emails' holds list of two values ok 17 - first value of 'emails' is correct! ok 18 - second value of 'emails' is correct! ok 19 - 'blogs' holds a hash ok 20 - first blog is correct ok 21 - second blog is correct ok 22 - === 2 === ok 23 - survived eval without error. ok 24 - Session was retrieved successfully ok 25 - session isn't expired yet ok 26 - session IDs are consistent ok 27 - ctime should be older than atime ok 28 - etime shouldn't be set yet ok 29 - session should hold params ok 30 - my name's correct ok 31 - 'emails' should hold list of values ok 32 - 'emails' should hold list of two values ok 33 - first value is correct! ok 34 - second value is correct! ok 35 - 'blogs' holds a hash ok 36 - first blog is correct! ok 37 - second blog is correct! ok 38 - etime set to 1 second ok 39 - etime set to one minute ok 40 - etime set to two hours ok 41 - etime set to 5 days ok 42 - etime set to 10 seconds in the past ok 43 - etime set back to one second ok 44 - calling close method survives eval ok 45 - === 3 === ok 46 - Session instance loaded ok 47 - session doesn't have ID ok 48 - session is empty, which is the same as above ok 49 - session was expired ok 50 - session data cleared ok 51 - new session created ok 52 - session has id :0a1f974d7e9f175e719b6dfdbfb13ade ok 53 - session isn't expired ok 54 - session isn't empty ok 55 - access and creation times are same ok 56 - it's a completely different session than above ok 57 - === 4 === ok 58 - Session '0a1f974d7e9f175e719b6dfdbfb13ade' removed from datastore successfully ok 59 - session object created successfully ok 60 - claimed ID (0a1f974d7e9f175e719b6dfdbfb13ade) couldn't be recovered. New ID is: 16897a36e1b3e021d5b218102509e212 ok 61 - === 5 === ok 62 - Session object created successfully ok 63 - claimed id (16897a36e1b3e021d5b218102509e212) was recovered successfully! ok 64 - === 6 === ok 65 - Session object created successfully ok 66 - New object created, because previous object was deleted ok 67 - CGI::Session::Test::SimpleObjectClass created successfully ok 68 ok 69 ok 70 ok 71 - OverloadedClass created successfully ok 72 - OverloadedClass is properly overloaded ok 73 - OverloadedClass is an object ok 74 ok 75 - CGI::Session::Test::SimpleObjectClass created successfully ok 76 - First element of anonymous array undef ok 77 ok 78 ok 79 ok 80 ok 81 - Overloaded objects have matching addresses ok 82 - === 7 === ok 83 - Session object created successfully ok 84 - Previously stored object loaded successfully ok 85 - CGI::Session::Test::SimpleObjectClass loaded successfully ok 86 - ok 87 - ok 88 - ok 89 - ok 90 ok 91 - Object is still overloaded ok 92 - Object is really overloaded ok 93 - First element of anonymous array undef ok 94 - CGI::Session::Test::SimpleObjectClass loaded successfully ok 95 - ok 96 - ok 97 - ok 98 - ok 99 ok 100 - Object is really overloaded ok 101 - Overloaded objects have matching addresses ok t/g4_storable.t ................. 1..101 ok 1 - use CGI::Session; ok 2 - === 1 === ok 3 - empty session should be created ok 4 - Id is empty ok 5 - Session is empty ok 6 - Session is not expired ok 7 - Session created successfully! ok 8 - ok 9 - ctime & atime are set ok 10 - ctime == atime ok 11 - etime not set yet ok 12 - session id is f1c1c0ac927f862510f525bc8fe98338 ok 13 - session holds 3 params3 ok 14 - My name's correct! ok 15 - 'emails' holds list of values ok 16 - 'emails' holds list of two values ok 17 - first value of 'emails' is correct! ok 18 - second value of 'emails' is correct! ok 19 - 'blogs' holds a hash ok 20 - first blog is correct ok 21 - second blog is correct ok 22 - === 2 === ok 23 - survived eval without error. ok 24 - Session was retrieved successfully ok 25 - session isn't expired yet ok 26 - session IDs are consistent ok 27 - ctime should be older than atime ok 28 - etime shouldn't be set yet ok 29 - session should hold params ok 30 - my name's correct ok 31 - 'emails' should hold list of values ok 32 - 'emails' should hold list of two values ok 33 - first value is correct! ok 34 - second value is correct! ok 35 - 'blogs' holds a hash ok 36 - first blog is correct! ok 37 - second blog is correct! ok 38 - etime set to 1 second ok 39 - etime set to one minute ok 40 - etime set to two hours ok 41 - etime set to 5 days ok 42 - etime set to 10 seconds in the past ok 43 - etime set back to one second ok 44 - calling close method survives eval ok 45 - === 3 === ok 46 - Session instance loaded ok 47 - session doesn't have ID ok 48 - session is empty, which is the same as above ok 49 - session was expired ok 50 - session data cleared ok 51 - new session created ok 52 - session has id :217d427a5b3a13cd67a6f5b7f60b786e ok 53 - session isn't expired ok 54 - session isn't empty ok 55 - access and creation times are same ok 56 - it's a completely different session than above ok 57 - === 4 === ok 58 - Session '217d427a5b3a13cd67a6f5b7f60b786e' removed from datastore successfully ok 59 - session object created successfully ok 60 - claimed ID (217d427a5b3a13cd67a6f5b7f60b786e) couldn't be recovered. New ID is: 7b4718b16b4c0d4bc3a9fa6a322227e2 ok 61 - === 5 === ok 62 - Session object created successfully ok 63 - claimed id (7b4718b16b4c0d4bc3a9fa6a322227e2) was recovered successfully! ok 64 - === 6 === ok 65 - Session object created successfully ok 66 - New object created, because previous object was deleted ok 67 - CGI::Session::Test::SimpleObjectClass created successfully ok 68 ok 69 ok 70 ok 71 - OverloadedClass created successfully ok 72 - OverloadedClass is properly overloaded ok 73 - OverloadedClass is an object ok 74 ok 75 - CGI::Session::Test::SimpleObjectClass created successfully ok 76 - First element of anonymous array undef ok 77 ok 78 ok 79 ok 80 ok 81 - Overloaded objects have matching addresses ok 82 - === 7 === ok 83 - Session object created successfully ok 84 - Previously stored object loaded successfully ok 85 - CGI::Session::Test::SimpleObjectClass loaded successfully ok 86 - ok 87 - ok 88 - ok 89 - ok 90 ok 91 - Object is still overloaded ok 92 - Object is really overloaded ok 93 - First element of anonymous array undef ok 94 - CGI::Session::Test::SimpleObjectClass loaded successfully ok 95 - ok 96 - ok 97 - ok 98 - ok 99 ok 100 - Object is really overloaded ok 101 - Overloaded objects have matching addresses ok t/header.t ...................... ok 1 - has header() method ok 2 - has http_header() method 1..2 ok t/ip_matches.t .................. ok 1 - ip_match off by default ok 2 - create new session ok 3 - check param TEST set ok 4 - store session id ok 5 - load session with different IP ok 6 - Same session id ok 7 - TEST param still set ok 8 - ip_match switched on ok 9 - create new session ok 10 - REMOTE_IP matches session ok 11 - check param TEST set ok 12 - store session id ok 13 - new session - same ip ok 14 - same session id ok 15 - REMOTE_IP matches session ok 16 - check param TEST set ok 17 - new session - different ip ok 18 - new session id 1..18 ok t/is_new.t ...................... ok 1 - use CGI::Session; ok 2 - session has is_new() method ok 3 - a brand new session is_new ok 4 - a session that has been closed and re-opened is not new 1..4 ok Argument "wrong" isn't numeric in numeric ne (!=) at /export/home/fly1264/var/cpan/build/CGI-Session-4.47-4z1Jg1/blib/lib/CGI/Session.pm line 684 (#1) (W numeric) The indicated string was fed as an argument to an operator that expected a numeric value instead. If you're fortunate the message will identify which operator was so unfortunate. t/load.t ........................ ok 1 - undefined session is created with wrong number of args to load ok 2 - expected error is returned for too many args ok 3 - don't mention new() in error when load() fails directly. ok 4 - reality check: no error when calling new() ok 5 - expected error when load() called as instance method. 1..5 ok t/load_with_undef.t ............. 1..6 ok 1 - load(undef) returns an object which isa CGI::Session ok 2 - load(undef)'s session object returns an id which /is/ undef ok 3 - load($q without CGISESSID) returns an object which isa CGI::Session ok 4 - load($q without CGISESSID)'s session object returns an id which /is/ undef ok 5 - load($q with fake CGISESSID) returns an object which isa CGI::Session ok 6 - load($q with fake CGISESSID)'s session object returns an id which /is/ undef ok t/name.t ........................ 1..14 ok 1 ok 2 - name used as class method ok 3 - name as class method w/ param ok 4 - name as class method w/ param effective? ok 5 - name as instance method ok 6 - instance method falls through to class ok 7 - instance method w/ param ok 8 - instance method w/ param effective? ok 9 - instance method did not affect class method ok 10 - constructor new with name for session/cookie key ok 11 - constructor name not affecting class ok 12 - constructor on new session not affecting old ok 13 - session from query with new name ok 14 - session in query with default name ok t/new_with_undef.t .............. 1..6 ok 1 - new(undef) returns an object which isa CGI::Session ok 2 - new(undef)'s session object returns an id which is /not/ undef ok 3 - new($q without CGISESSID) returns an object which isa CGI::Session ok 4 - new($q without CGISESSID)'s session object returns an id which is /not/ undef ok 5 - new($q with fake CGISESSID) returns an object which isa CGI::Session ok 6 - new($q with fake CGISESSID)'s session object returns an id which is /not/ undef ok t/parse_dsn.t ................... 1..1 ok 1 - parse_dsn: abbreviation and lower-casing ok t/remote_addr.t ................. 1..5 ok 1 - use CGI::Session; ok 2 ok 3 - remote_addr() exists ok 4 - remote_addr() passes eval ok 5 - remote_addr() is 127.0.0.1 ok # Check in STORE of original item # Check in STORE of stored/retrieved item # Check in LOAD after loading from session t/session_param_undef.t ......... 1..21 ok 1 - use CGI::Session; ok 2 ok 3 - Items are still equal after storing ok 4 - Container->can('add_item') ok 5 - The object isa Container ok 6 - Container->can('add_item') ok 7 - Item->can('get_name') ok 8 - The object isa Item ok 9 - Item->can('get_name') ok 10 - Container->can('add_item') ok 11 - The object isa Container ok 12 - Container->can('add_item') ok 13 - Item->can('get_name') ok 14 - The object isa Item ok 15 - Item->can('get_name') ok 16 - Container->can('add_item') ok 17 - The object isa Container ok 18 - Container->can('add_item') ok 19 - Item->can('get_name') ok 20 - The object isa Item ok 21 - Item->can('get_name') ok t/str2seconds.t ................. ok 1 - got expected result when converting 1w to seconds ok 2 - got expected result when converting 1s to seconds ok 3 - got expected result when converting 1m to seconds ok 4 - got expected result when converting +1m to seconds ok 5 - got expected result when converting 1d to seconds ok 6 - got expected result when converting -1m to seconds ok 7 - got expected result when converting 1y to seconds ok 8 - got expected result when converting 1M to seconds ok 9 - got expected result when converting 1h to seconds 1..9 ok t/symlink_db_file.t ............. skipped: DB_File not available t/symlink_file.t ................ 1..11 ok 1 - Create new session named symlink ok 2 - We have an id ok 3 - Created symlink ok 4 - Check to make certain symlink was created ok 5 - Get our symlinked session ok 6 - we should have wiped out the symlink ok 7 - this session should be unique ok 8 - moving session file ok 9 - creating symlink ok 10 - flush should wipe out the symlink ok 11 - original session file has been restored ok All tests successful. Files=48, Tests=854, 76 wallclock secs ( 0.91 usr 0.45 sys + 32.35 cusr 2.22 csys = 35.93 CPU) Result: PASS MARKSTOS/CGI-Session-4.47.tar.gz make test TEST_VERBOSE=1 -- OK Mark Stosberg <mark@summersault.com> Persistent session data in CGI applications >>> (cd /export/home/fly1264/var/cpan/build/CGI-Session-4.47-4z1Jg1 && tar cvf - CGI-Session-4.47.ppd blib) | gzip -c >/export/home/fly1264/var/REPO/M/MA/MARKSTOS/CGI-Session-4.47.tar.gz CGI-Session-4.47.ppd blib/ blib/lib/ blib/lib/CGI/ blib/lib/CGI/Session/ blib/lib/CGI/Session/Test/ blib/lib/CGI/Session/Test/Default.pm blib/lib/CGI/Session/Driver/ blib/lib/CGI/Session/Driver/postgresql.pm blib/lib/CGI/Session/Driver/sqlite.pm blib/lib/CGI/Session/Driver/mysql.pm blib/lib/CGI/Session/Driver/db_file.pm blib/lib/CGI/Session/Driver/DBI.pm blib/lib/CGI/Session/Driver/file.pm blib/lib/CGI/Session/Driver.pm blib/lib/CGI/Session/Serialize/ blib/lib/CGI/Session/Serialize/storable.pm blib/lib/CGI/Session/Serialize/freezethaw.pm blib/lib/CGI/Session/Serialize/default.pm blib/lib/CGI/Session/ID/ blib/lib/CGI/Session/ID/static.pm blib/lib/CGI/Session/ID/incr.pm blib/lib/CGI/Session/ID/md5.pm blib/lib/CGI/Session/Tutorial.pm blib/lib/CGI/Session/ErrorHandler.pm blib/lib/CGI/Session.pm blib/man3/ blib/man3/CGI::Session::Test::Default.3 blib/man3/CGI::Session::Driver::postgresql.3 blib/man3/CGI::Session::Driver::sqlite.3 blib/man3/CGI::Session::Driver.3 blib/man3/CGI::Session::ID::static.3 blib/man3/CGI::Session::Serialize::storable.3 blib/man3/CGI::Session::Driver::db_file.3 blib/man3/CGI::Session::Driver::mysql.3 blib/man3/CGI::Session.3 blib/man3/CGI::Session::Driver::DBI.3 blib/man3/CGI::Session::ID::incr.3 blib/man3/CGI::Session::Tutorial.3 blib/man3/CGI::Session::Serialize::freezethaw.3 blib/man3/CGI::Session::ErrorHandler.3 blib/man3/CGI::Session::Serialize::default.3 blib/man3/CGI::Session::Driver::file.3 blib/man3/CGI::Session::ID::md5.3 >>> mv /export/home/fly1264/var/cpan/build/CGI-Session-4.47-4z1Jg1/CGI-Session-4.47.ppd /export/home/fly1264/var/REPO/M/MA/MARKSTOS Finished 2011-07-09T13:57:31