PATH=C:\mingw\bin;C:\cygwin\bin;C:\cpanfly-5.18\var\megalib\bin;C:\Perl-5.18\site\bin;C:\Perl-5.18\bin;C:\cygwin\bin;C:\Program Files\Perforce;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\instantclient_11_2;C:\cygwin\bin;C:\Program Files\Perforce;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\mysql\bin Start 2014-07-28T03:43:39 ActivePerl-1800 CPAN-2.00 LIB=C:\PROGRA~1\MICROS~3\VC98\Lib\PSDK PATH=C:/CPANFL~1.18/var/libs/bin;C:\mingw\bin;C:\cygwin\bin;C:\CPANFL~1.18\var\megalib\bin;C:\Perl-5.18\site\bin;C:\Perl-5.18\bin;C:\cygwin\bin;C:\PROGRA~1\Perforce;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\WINDOW~2\v1.0;C:\WINDOWS\system32\WINDOW~2\v1.0;C:\INSTAN~1;C:\cygwin\bin;C:\PROGRA~1\Perforce;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\WINDOW~2\v1.0;C:\WINDOWS\system32\WINDOW~2\v1.0;C:\mysql\bin Reading 'C:\cpanfly-5.18\var\cpan\Metadata' Database was generated on Mon, 28 Jul 2014 10:06:12 GMT Running make for T/TO/TOKUHIROM/HTTP-Session2-1.00.tar.gz Fetching with LWP: http://cpan.nas1.activestate.com/authors/id/T/TO/TOKUHIROM/HTTP-Session2-1.00.tar.gz Fetching with LWP: http://cpan.nas1.activestate.com/authors/id/T/TO/TOKUHIROM/CHECKSUMS Checksum for C:\cpanfly-5.18\var\cpan\sources\authors\id\T\TO\TOKUHIROM\HTTP-Session2-1.00.tar.gz ok HTTP-Session2-1.00/Build.PL HTTP-Session2-1.00/Changes HTTP-Session2-1.00/LICENSE HTTP-Session2-1.00/META.json HTTP-Session2-1.00/README.md HTTP-Session2-1.00/cpanfile HTTP-Session2-1.00/eg/demo.psgi HTTP-Session2-1.00/js/xsrf-token.js HTTP-Session2-1.00/lib/HTTP/Session2.pm HTTP-Session2-1.00/lib/HTTP/Session2/Base.pm HTTP-Session2-1.00/lib/HTTP/Session2/ClientStore.pm HTTP-Session2-1.00/lib/HTTP/Session2/Expired.pm HTTP-Session2-1.00/lib/HTTP/Session2/ServerStore.pm HTTP-Session2-1.00/minil.toml HTTP-Session2-1.00/t/00_compile.t HTTP-Session2-1.00/t/01_server_side.t HTTP-Session2-1.00/t/02_client_side.t HTTP-Session2-1.00/t/03_mech.t HTTP-Session2-1.00/t/04_plack_response.t HTTP-Session2-1.00/t/05_keep_me_signed_in.t HTTP-Session2-1.00/t/06_base_abstract.t HTTP-Session2-1.00/t/07_client_store.t HTTP-Session2-1.00/t/08_expired.t HTTP-Session2-1.00/t/lib/Cache.pm HTTP-Session2-1.00/META.yml HTTP-Session2-1.00/MANIFEST CPAN.pm: Building T/TO/TOKUHIROM/HTTP-Session2-1.00.tar.gz >>> C:\Perl-5.18\bin\perl.exe Build.PL Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'HTTP-Session2' version '1.00' cp META.json MYMETA.json cp META.yml MYMETA.yml >>> C:\Perl-5.18\bin\perl.exe ./Build Building HTTP-Session2 TOKUHIROM/HTTP-Session2-1.00.tar.gz C:\Perl-5.18\bin\perl.exe ./Build -- OK Running Build test >>> C:\Perl-5.18\bin\perl.exe ./Build test verbose=1 t\00_compile.t ............ ok 1 - use HTTP::Session2; ok 2 - use HTTP::Session2::Base; ok 3 - use HTTP::Session2::ClientStore; ok 4 - use HTTP::Session2::ServerStore; 1..4 ok t\01_server_side.t ........ # Subtest: First request # client -> server: request without cookie # server -> client: response without cookie ok 1 1..1 ok 1 - First request # Subtest: Store something without login # client -> server: request without cookie # server -> store: save data # server -> client: response with session/xsrf cookie ok 1 ok 2 ok 3 ok 4 ok 5 - stored 1..5 ok 2 - Store something without login # Subtest: Login # client -> server: request without cookie # server -> server: regenerate_id # server -> store: save data # server -> client: response with session/xsrf cookie ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 1..7 ok 3 - Login # Subtest: In a login session # client -> server: request without cookie # server -> store: set more data # server -> client: response without session/xsrf cookie ok 1 ok 2 1..2 ok 4 - In a login session # Subtest: Logout # client -> server: request without cookie # server -> server: expire # server -> client: response with expiration session/xsrf cookie ok 1 ok 2 ok 3 ok 4 ok 5 1..5 ok 5 - Logout 1..5 ok t\02_client_side.t ........ # Subtest: First request # client -> server: request without cookie # server -> client: response without cookie ok 1 1..1 ok 1 - First request # Subtest: Store something without login # client -> server: request without cookie # server -> store: save data # server -> client: response with session/xsrf cookie ok 1 ok 2 ok 3 ok 4 # 1406544249%3A5c55cc6dec1ef281beb459c80018980%3ABQkDAAAAAQoDYmFyAAAAA2Zvbw%3D%3D%3A62343563626434303633303330323837343561383030643531613666623237396233356132353138 1..4 ok 2 - Store something without login # Subtest: Login # client -> server: request without cookie # server -> server: regenerate_id # server -> store: save data # server -> client: response with session/xsrf cookie ok 1 ok 2 ok 3 ok 4 ok 5 # 1406544249%3A16ef351ed9c3699bc4ba72d66a1c8a7%3ABQkDAAAAAgoDYmFyAAAAA2ZvbwoENTk2MwAAAAd1c2VyX2lk%3A39626163346565316438383662393338383163393065613362396331376130313965643237326131 1..5 ok 3 - Login # Subtest: In a login session # client -> server: request without cookie # server -> store: set more data # server -> client: response without session/xsrf cookie ok 1 1..1 ok 4 - In a login session # Subtest: Logout # client -> server: request without cookie # server -> server: expire # server -> client: response with expiration session/xsrf cookie ok 1 ok 2 ok 3 ok 4 1..4 ok 5 - Logout 1..5 ok t\03_mech.t ............... # ------ factory # GET / 331bac2eb1b2131a7c1d1ede137b1ea ok 1 - GET / # POST /wishlist 852ab0c7745eb6567b5e86e27f1d55d ok 2 - POST /wishlist?foo # GET /wishlist 852ab0c7745eb6567b5e86e27f1d55d ok 3 - GET /wishlist ok 4 - Content is "foo" # POST /wishlist 852ab0c7745eb6567b5e86e27f1d55d # XSRF detected ok 5 # POST /wishlist 852ab0c7745eb6567b5e86e27f1d55d ok 6 - POST /wishlist?bar # GET /wishlist 852ab0c7745eb6567b5e86e27f1d55d ok 7 - GET /wishlist ok 8 - Content is "foo,bar" # POST /account/login 852ab0c7745eb6567b5e86e27f1d55d ok 9 - POST /account/login?john # GET /wishlist b92cd8af858ddf68c5fe87a57178dcc ok 10 - Wishlist is still available ok 11 - Content is "foo,bar" # POST /wishlist b92cd8af858ddf68c5fe87a57178dcc # XSRF detected ok 12 - xsrf token was changed, too # POST /wishlist b92cd8af858ddf68c5fe87a57178dcc ok 13 - POST /wishlist?baz # GET /wishlist b92cd8af858ddf68c5fe87a57178dcc ok 14 - Wishlist is still available ok 15 - Content is "foo,bar,baz" # GET /my/name b92cd8af858ddf68c5fe87a57178dcc ok 16 - GET /my/name ok 17 - Content is "john" ok 18 # POST /account/logout b92cd8af858ddf68c5fe87a57178dcc ok 19 ok 20 # ------ factory # GET / 2dde505c46d0a2970989d6404e0cddb ok 21 - GET / # POST /wishlist 26f7f1cbe965f93d692e16be2d125c3 ok 22 - POST /wishlist?foo # GET /wishlist 26f7f1cbe965f93d692e16be2d125c3 ok 23 - GET /wishlist ok 24 - Content is "foo" # POST /wishlist 26f7f1cbe965f93d692e16be2d125c3 # XSRF detected ok 25 # POST /wishlist 26f7f1cbe965f93d692e16be2d125c3 ok 26 - POST /wishlist?bar # GET /wishlist 26f7f1cbe965f93d692e16be2d125c3 ok 27 - GET /wishlist ok 28 - Content is "foo,bar" # POST /account/login 26f7f1cbe965f93d692e16be2d125c3 ok 29 - POST /account/login?john # GET /wishlist 45cc6158c4c951d13763ed04c5c6e87 ok 30 - Wishlist is still available ok 31 - Content is "foo,bar" # POST /wishlist 45cc6158c4c951d13763ed04c5c6e87 # XSRF detected ok 32 - xsrf token was changed, too # POST /wishlist 45cc6158c4c951d13763ed04c5c6e87 ok 33 - POST /wishlist?baz # GET /wishlist 45cc6158c4c951d13763ed04c5c6e87 ok 34 - Wishlist is still available ok 35 - Content is "foo,bar,baz" # GET /my/name 45cc6158c4c951d13763ed04c5c6e87 ok 36 - GET /my/name ok 37 - Content is "john" ok 38 # POST /account/logout 45cc6158c4c951d13763ed04c5c6e87 ok 39 ok 40 1..40 ok t\04_plack_response.t ..... # Client-Warning: Redirect loop detected (max_redirect = 0) # Set-Cookie: hss_session=1406544252%3A182175fa895811d923354d4783b7a01%3ABQkDAAAAAQoDYmFyAAAAA2Zvbw%3D%3D%3A31393435326531346332323232333535373332316237343636636664623137346462386563313730; path=/; HttpOnly # Set-Cookie: XSRF-TOKEN=182175fa895811d923354d4783b7a01; path=/ ok 1 # Client-Warning: Redirect loop detected (max_redirect = 0) # Set-Cookie: hss_session=; path=/; expires=Sun, 27-Jul-2014 10:44:12 GMT; HttpOnly # Set-Cookie: XSRF-TOKEN=; path=/; expires=Sun, 27-Jul-2014 10:44:12 GMT ok 2 1..2 ok t\05_keep_me_signed_in.t .. # $VAR1 = [ # 200, # [ # 'Set-Cookie', # 'hss_session=1406544252%3A175a1f6e6b6a80cf8e1663e547bdb12%3ABQkDAAAAAQiDAAAAAXg%3D%3A37653062343935366636616330633130636532636136393062666230313063656662636538623730; path=/; expires=Wed, 27-Aug-2014 10:44:12 GMT; HttpOnly', # 'Set-Cookie', # 'XSRF-TOKEN=175a1f6e6b6a80cf8e1663e547bdb12; path=/' # ], # [] # ]; ok 1 ok 2 - Original configuration is not modified 1..2 ok t\06_base_abstract.t ...... ok 1 ok 2 ok 3 1..3 ok t\07_client_store.t ....... # Subtest: get/set/remove ok 1 ok 2 ok 3 1..3 ok 1 - get/set/remove # Subtest: validate_token ok 1 # Subtest: bad ok 1 1..1 ok 2 - bad # Subtest: good ok 1 1..1 ok 3 - good 1..3 ok 2 - validate_token # Subtest: ignore_old # Subtest: ignore_old disabled ok 1 1..1 ok 1 - ignore_old disabled # Subtest: ignore_old enabled ok 1 1..1 ok 2 - ignore_old enabled 1..2 ok 3 - ignore_old 1..3 ok t\08_expired.t ............ ok 1 ok 2 ok 3 1..3 ok All tests successful. Files=9, Tests=67, 5 wallclock secs ( 0.13 usr + 0.03 sys = 0.16 CPU) Result: PASS TOKUHIROM/HTTP-Session2-1.00.tar.gz C:\Perl-5.18\bin\perl.exe ./Build test verbose=1 -- OK Tokuhiro Matsuno <tokuhirom+cpan@gmail.com> HTTP session management >>> (cd C:\cpanfly-5.18\var\cpan\build\HTTP-Session2-1.00-okXWW2 && tar cvf - HTTP-Session2-1.00.ppd blib) | gzip -c >C:/cpanfly-5.18/var/REPO/T/TO/TOKUHIROM/HTTP-Session2-1.00.tar.gz HTTP-Session2-1.00.ppd blib/ blib/lib/ blib/lib/HTTP/ blib/lib/HTTP/Session2/ blib/lib/HTTP/Session2/Base.pm blib/lib/HTTP/Session2/ClientStore.pm blib/lib/HTTP/Session2/Expired.pm blib/lib/HTTP/Session2/ServerStore.pm blib/lib/HTTP/Session2.pm >>> mv C:\cpanfly-5.18\var\cpan\build\HTTP-Session2-1.00-okXWW2/HTTP-Session2-1.00.ppd C:/cpanfly-5.18/var/REPO/T/TO/TOKUHIROM Finished 2014-07-28T03:44:13