-
-
Save sergot/66cd29b58c97a09ac483 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
filip.sergot@c51255:~/p6/http-useragent$ RAKUDO_MODULE_DEBUG=1 perl6 -Ilib t/06-ua-simple.t | |
key => /home/likewise-open/ALLEGROGROUP/filip.sergot/p6/MoarVM/install/languages/nqp/lib/Perl6/BOOTSTRAP.moarvm | |
load => /home/likewise-open/ALLEGROGROUP/filip.sergot/p6/MoarVM/install/languages/nqp/lib/Perl6/BOOTSTRAP.moarvm | |
MODULE_DEBUG: loading /home/likewise-open/ALLEGROGROUP/filip.sergot/p6/MoarVM/install/languages/nqp/lib/Perl6/BOOTSTRAP.moarvm | |
MODULE_DEBUG: done loading /home/likewise-open/ALLEGROGROUP/filip.sergot/p6/MoarVM/install/languages/nqp/lib/Perl6/BOOTSTRAP.moarvm | |
use of uninitialized value of type Any in string context | |
pm => | |
load => /home/likewise-open/ALLEGROGROUP/filip.sergot/p6/MoarVM/install/languages/perl6/lib/Test.moarvm | |
key => /home/likewise-open/ALLEGROGROUP/filip.sergot/p6/MoarVM/install/languages/perl6/lib/Test.moarvm | |
MODULE_DEBUG: loading /home/likewise-open/ALLEGROGROUP/filip.sergot/p6/MoarVM/install/languages/perl6/lib/Test.moarvm | |
MODULE_DEBUG: done loading /home/likewise-open/ALLEGROGROUP/filip.sergot/p6/MoarVM/install/languages/perl6/lib/Test.moarvm | |
pm => /home/likewise-open/ALLEGROGROUP/filip.sergot/p6/http-useragent/lib/HTTP/UserAgent.pm6 | |
use of uninitialized value of type Any in string context | |
load => | |
key => /home/likewise-open/ALLEGROGROUP/filip.sergot/p6/http-useragent/lib/HTTP/UserAgent.pm6 | |
MODULE_DEBUG: loading /home/likewise-open/ALLEGROGROUP/filip.sergot/p6/http-useragent/lib/HTTP/UserAgent.pm6 | |
pm => /home/likewise-open/ALLEGROGROUP/filip.sergot/p6/http-useragent/lib/HTTP/Response.pm6 | |
use of uninitialized value of type Any in string context | |
load => | |
key => /home/likewise-open/ALLEGROGROUP/filip.sergot/p6/http-useragent/lib/HTTP/Response.pm6 | |
MODULE_DEBUG: loading /home/likewise-open/ALLEGROGROUP/filip.sergot/p6/http-useragent/lib/HTTP/Response.pm6 | |
pm => /home/likewise-open/ALLEGROGROUP/filip.sergot/p6/http-useragent/lib/HTTP/Message.pm6 | |
use of uninitialized value of type Any in string context | |
load => | |
key => /home/likewise-open/ALLEGROGROUP/filip.sergot/p6/http-useragent/lib/HTTP/Message.pm6 | |
MODULE_DEBUG: loading /home/likewise-open/ALLEGROGROUP/filip.sergot/p6/http-useragent/lib/HTTP/Message.pm6 | |
pm => /home/likewise-open/ALLEGROGROUP/filip.sergot/p6/http-useragent/lib/HTTP/Headers.pm6 | |
use of uninitialized value of type Any in string context | |
load => | |
key => /home/likewise-open/ALLEGROGROUP/filip.sergot/p6/http-useragent/lib/HTTP/Headers.pm6 | |
MODULE_DEBUG: loading /home/likewise-open/ALLEGROGROUP/filip.sergot/p6/http-useragent/lib/HTTP/Headers.pm6 | |
pm => /home/likewise-open/ALLEGROGROUP/filip.sergot/p6/http-useragent/lib/HTTP/Header.pm6 | |
use of uninitialized value of type Any in string context | |
load => | |
key => /home/likewise-open/ALLEGROGROUP/filip.sergot/p6/http-useragent/lib/HTTP/Header.pm6 | |
MODULE_DEBUG: loading /home/likewise-open/ALLEGROGROUP/filip.sergot/p6/http-useragent/lib/HTTP/Header.pm6 | |
MODULE_DEBUG: done loading /home/likewise-open/ALLEGROGROUP/filip.sergot/p6/http-useragent/lib/HTTP/Header.pm6 | |
MODULE_DEBUG: done loading /home/likewise-open/ALLEGROGROUP/filip.sergot/p6/http-useragent/lib/HTTP/Headers.pm6 | |
MODULE_DEBUG: done loading /home/likewise-open/ALLEGROGROUP/filip.sergot/p6/http-useragent/lib/HTTP/Message.pm6 | |
pm => /home/likewise-open/ALLEGROGROUP/filip.sergot/p6/MoarVM/install/languages/perl6/site/lib/HTTP/Status.pm6 | |
load => /home/likewise-open/ALLEGROGROUP/filip.sergot/p6/MoarVM/install/languages/perl6/site/lib/HTTP/Status.moarvm | |
key => /home/likewise-open/ALLEGROGROUP/filip.sergot/p6/MoarVM/install/languages/perl6/site/lib/HTTP/Status.pm6 | |
MODULE_DEBUG: loading /home/likewise-open/ALLEGROGROUP/filip.sergot/p6/MoarVM/install/languages/perl6/site/lib/HTTP/Status.moarvm | |
MODULE_DEBUG: done loading /home/likewise-open/ALLEGROGROUP/filip.sergot/p6/MoarVM/install/languages/perl6/site/lib/HTTP/Status.moarvm | |
MODULE_DEBUG: done loading /home/likewise-open/ALLEGROGROUP/filip.sergot/p6/http-useragent/lib/HTTP/Response.pm6 | |
pm => /home/likewise-open/ALLEGROGROUP/filip.sergot/p6/http-useragent/lib/HTTP/Request.pm6 | |
use of uninitialized value of type Any in string context | |
load => | |
key => /home/likewise-open/ALLEGROGROUP/filip.sergot/p6/http-useragent/lib/HTTP/Request.pm6 | |
MODULE_DEBUG: loading /home/likewise-open/ALLEGROGROUP/filip.sergot/p6/http-useragent/lib/HTTP/Request.pm6 | |
pm => /home/likewise-open/ALLEGROGROUP/filip.sergot/p6/http-useragent/lib/HTTP/Message.pm6 | |
use of uninitialized value of type Any in string context | |
load => | |
key => /home/likewise-open/ALLEGROGROUP/filip.sergot/p6/http-useragent/lib/HTTP/Message.pm6 | |
MODULE_DEBUG: done loading /home/likewise-open/ALLEGROGROUP/filip.sergot/p6/http-useragent/lib/HTTP/Request.pm6 | |
pm => /home/likewise-open/ALLEGROGROUP/filip.sergot/p6/http-useragent/lib/HTTP/UserAgent/Common.pm6 | |
use of uninitialized value of type Any in string context | |
load => | |
key => /home/likewise-open/ALLEGROGROUP/filip.sergot/p6/http-useragent/lib/HTTP/UserAgent/Common.pm6 | |
MODULE_DEBUG: loading /home/likewise-open/ALLEGROGROUP/filip.sergot/p6/http-useragent/lib/HTTP/UserAgent/Common.pm6 | |
MODULE_DEBUG: done loading /home/likewise-open/ALLEGROGROUP/filip.sergot/p6/http-useragent/lib/HTTP/UserAgent/Common.pm6 | |
MODULE_DEBUG: done loading /home/likewise-open/ALLEGROGROUP/filip.sergot/p6/http-useragent/lib/HTTP/UserAgent.pm6 | |
pm => /home/likewise-open/ALLEGROGROUP/filip.sergot/p6/MoarVM/install/languages/perl6/site/lib/Test/IO/Capture.pm | |
load => /home/likewise-open/ALLEGROGROUP/filip.sergot/p6/MoarVM/install/languages/perl6/site/lib/Test/IO/Capture.moarvm | |
key => /home/likewise-open/ALLEGROGROUP/filip.sergot/p6/MoarVM/install/languages/perl6/site/lib/Test/IO/Capture.pm | |
MODULE_DEBUG: loading /home/likewise-open/ALLEGROGROUP/filip.sergot/p6/MoarVM/install/languages/perl6/site/lib/Test/IO/Capture.moarvm | |
use of uninitialized value of type Any in string context | |
pm => | |
load => /home/likewise-open/ALLEGROGROUP/filip.sergot/p6/MoarVM/install/languages/perl6/lib/Test.moarvm | |
key => /home/likewise-open/ALLEGROGROUP/filip.sergot/p6/MoarVM/install/languages/perl6/lib/Test.moarvm | |
pm => /home/likewise-open/ALLEGROGROUP/filip.sergot/p6/MoarVM/install/languages/perl6/site/lib/IO/Capture/Simple.pm | |
load => /home/likewise-open/ALLEGROGROUP/filip.sergot/p6/MoarVM/install/languages/perl6/site/lib/IO/Capture/Simple.moarvm | |
key => /home/likewise-open/ALLEGROGROUP/filip.sergot/p6/MoarVM/install/languages/perl6/site/lib/IO/Capture/Simple.pm | |
MODULE_DEBUG: loading /home/likewise-open/ALLEGROGROUP/filip.sergot/p6/MoarVM/install/languages/perl6/site/lib/IO/Capture/Simple.moarvm | |
MODULE_DEBUG: done loading /home/likewise-open/ALLEGROGROUP/filip.sergot/p6/MoarVM/install/languages/perl6/site/lib/IO/Capture/Simple.moarvm | |
MODULE_DEBUG: done loading /home/likewise-open/ALLEGROGROUP/filip.sergot/p6/MoarVM/install/languages/perl6/site/lib/Test/IO/Capture.moarvm | |
1..4 | |
ok 1 - get 1/1 | |
not ok 2 - getprint 1/1 | |
# got: '<!DOCTYPE html> | |
# <html> | |
# <head> | |
# <title>home :: filip.sergot.pl</title> | |
# <meta charset="UTF-8"> | |
# | |
# <meta name="description" content="Mostly about programming. Perl, Perl6, C and many others. Science too."> | |
# <meta name="keywords" content="programming,perl,perl6,hacking,c,science"> | |
# <meta name="author" content="Filip Sergot"> | |
# | |
# <link rel="shortcut icon" href="/img/favicon.ico" type="image/x-icon"> | |
# | |
# <link rel="alternate" type="application/atom+xml" title="sergot's RSS" href="http://filip.sergot.pl/index.atom"> | |
# | |
# <link rel="stylesheet" type="text/css" href="/css/style.css"> | |
# | |
# <script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script> | |
# <!-- There will be some JS, I promise! :) --> | |
# <script src="/js/main.js"></script> | |
# | |
# <link href='http://fonts.googleapis.com/css?family=Roboto' rel='stylesheet' type='text/css'/> | |
# <link href='http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300' rel='stylesheet' type='text/css'/> | |
# | |
# <!-- Piwik --> | |
# <script type="text/javascript"> | |
# var _paq = _paq || []; | |
# _paq.push(["setDocumentTitle", document.domain + "/" + document.title]); | |
# _paq.push(["setCookieDomain", "*.sergot.pl"]); | |
# _paq.push(["setDomains", ["*.sergot.pl"]]); | |
# _paq.push(["trackPageView"]); | |
# _paq.push(["enableLinkTracking"]); | |
# | |
# (function() { | |
# var u=(("https:" == document.location.protocol) ? "https" : "http") + "://piwik.agilob.net/"; | |
# _paq.push(["setTrackerUrl", u+"piwik.php"]); | |
# _paq.push(["setSiteId", "7"]); | |
# var d=document, g=d.createElement("script"), s=d.getElementsByTagName("script")[0]; g.type="text/javascript"; | |
# g.defer=true; g.async=true; g.src=u+"piwik.js"; s.parentNode.insertBefore(g,s); | |
# })(); | |
# </script> | |
# <!-- End Piwik Code --> | |
# </head> | |
# <body> | |
# <div id="all"> | |
# <div id="header"> | |
# <div id="logo"> | |
# <img src="/img/logo.jpg" class="logo" alt="Filip Sergot :: filip.sergot.pl :: logo" width="200" style="float: left; vertical-align: middle;"> | |
# <div class="logotext">sergot's homepage</div> | |
# <div class="logodesc">Programming and stuff.</div> | |
# </div> | |
# <div id="menubarhor"> | |
# <ul class="menubarhor"> | |
# <li><a href="/en">h' | |
# expected: '<!DOCTYPE html> | |
# <html> | |
# <head> | |
# <title>home :: filip.sergot.pl</title> | |
# <meta charset="UTF-8"> | |
# | |
# <meta name="description" content="Mostly about programming. Perl, Perl6, C and many others. Science too."> | |
# <meta name="keywords" content="programming,perl,perl6,hacking,c,science"> | |
# <meta name="author" content="Filip Sergot"> | |
# | |
# <link rel="shortcut icon" href="/img/favicon.ico" type="image/x-icon"> | |
# | |
# <link rel="alternate" type="application/atom+xml" title="sergot's RSS" href="http://filip.sergot.pl/index.atom"> | |
# | |
# <link rel="stylesheet" type="text/css" href="/css/style.css"> | |
# | |
# <script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script> | |
# <!-- There will be some JS, I promise! :) --> | |
# <script src="/js/main.js"></script> | |
# | |
# <link href='http://fonts.googleapis.com/css?family=Roboto' rel='stylesheet' type='text/css'/> | |
# <link href='http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300' rel='stylesheet' type='text/css'/> | |
# | |
# <!-- Piwik --> | |
# <script type="text/javascript"> | |
# var _paq = _paq || []; | |
# _paq.push(["setDocumentTitle", document.domain + "/" + document.title]); | |
# _paq.push(["setCookieDomain", "*.sergot.pl"]); | |
# _paq.push(["setDomains", ["*.sergot.pl"]]); | |
# _paq.push(["trackPageView"]); | |
# _paq.push(["enableLinkTracking"]); | |
# | |
# (function() { | |
# var u=(("https:" == document.location.protocol) ? "https" : "http") + "://piwik.agilob.net/"; | |
# _paq.push(["setTrackerUrl", u+"piwik.php"]); | |
# _paq.push(["setSiteId", "7"]); | |
# var d=document, g=d.createElement("script"), s=d.getElementsByTagName("script")[0]; g.type="text/javascript"; | |
# g.defer=true; g.async=true; g.src=u+"piwik.js"; s.parentNode.insertBefore(g,s); | |
# })(); | |
# </script> | |
# <!-- End Piwik Code --> | |
# </head> | |
# <body> | |
# <div id="all"> | |
# <div id="header"> | |
# <div id="logo"> | |
# <img src="/img/logo.jpg" class="logo" alt="Filip Sergot :: filip.sergot.pl :: logo" width="200" style="float: left; vertical-align: middle;"> | |
# <div class="logotext">sergot's homepage</div> | |
# <div class="logodesc">Programming and stuff.</div> | |
# </div> | |
# <div id="menubarhor"> | |
# <ul class="menubarhor"> | |
# <li><a href="/en">home</a></li> | |
# <li><a href="/en/site/contact">contact</a></li> | |
# </ul> | |
# <ul class="menubarhor" style="float: right; margin-right: 4px;"> | |
# <li><a href="/index.atom">rss</a></li> | |
# </ul> | |
# </div> | |
# </div> | |
# <div id="centrum"> | |
# <div id="content"> | |
# <div id="blueline"></div> | |
# <div id="postwin"> | |
# <div id="post"> | |
# <div class="postthumbnail"> | |
# <img src="/img/blog/gsoc_logo.png" width="200" height="200" alt="[GSoC] HTTP::Message, HTTP::Cookies and DateTime::Parse"> | |
# </div> | |
# <h2 class="posttitle"> | |
# <a href="/en/blog/perl6/gsoc_http_cookies_message_datetime_parse">[GSoC] HTTP::Message, HTTP::Cookies and DateTime::Parse</a> | |
# </h2> | |
# <div id="postinfo"><span class="postauthor">sergot</span><span class="postdate">2014-06-03</span></div> | |
# ' | |
not ok 3 - getstore 1/1 | |
# got: '<!DOCTYPE html> | |
# <html> | |
# <head> | |
# <title>home :: filip.sergot.pl</title> | |
# <meta charset="UTF-8"> | |
# | |
# <meta name="description" content="Mostly about programming. Perl, Perl6, C and many others. Science too."> | |
# <meta name="keywords" content="programming,perl,perl6,hacking,c,science"> | |
# <meta name="author" content="Filip Sergot"> | |
# | |
# <link rel="shortcut icon" href="/img/favicon.ico" type="image/x-icon"> | |
# | |
# <link rel="alternate" type="application/atom+xml" title="sergot's RSS" href="http://filip.sergot.pl/index.atom"> | |
# | |
# <link rel="stylesheet" type="text/css" href="/css/style.css"> | |
# | |
# <script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script> | |
# <!-- There will be some JS, I promise! :) --> | |
# <script src="/js/main.js"></script> | |
# | |
# <link href='http://fonts.googleapis.com/css?family=Roboto' rel='stylesheet' type='text/css'/> | |
# <link href='http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300' rel='stylesheet' type='text/css'/> | |
# | |
# <!-- Piwik --> | |
# <script type="text/javascript"> | |
# var _paq = _paq || []; | |
# _paq.push(["setDocumentTitle", document.domain + "/" + document.title]); | |
# _paq.push(["setCookieDomain", "*.sergot.pl"]); | |
# _paq.push(["setDomains", ["*.sergot.pl"]]); | |
# _paq.push(["trackPageView"]); | |
# _paq.push(["enableLinkTracking"]); | |
# | |
# (function() { | |
# var u=(("https:" == document.location.protocol) ? "https" : "http") + "://piwik.agilob.net/"; | |
# _paq.push(["setTrackerUrl", u+"piwik.php"]); | |
# _paq.push(["setSiteId", "7"]); | |
# var d=document, g=d.createElement("script"), s=d.getElementsByTagName("script")[0]; g.type="text/javascript"; | |
# g.defer=true; g.async=true; g.src=u+"piwik.js"; s.parentNode.insertBefore(g,s); | |
# })(); | |
# </script> | |
# <!-- End Piwik Code --> | |
# </head> | |
# <body> | |
# <div id="all"> | |
# <div id="header"> | |
# <div id="logo"> | |
# <img src="/img/logo.jpg" class="logo" alt="Filip Sergot :: filip.sergot.pl :: logo" width="200" style="float: left; vertical-align: middle;"> | |
# <div class="logotext">sergot's homepage</div> | |
# <div class="logodesc">Programming and stuff.</div> | |
# </div> | |
# <div id="menubarhor"> | |
# <ul class="menubarhor"> | |
# <li><a href="/en">h' | |
# expected: '<!DOCTYPE html> | |
# <html> | |
# <head> | |
# <title>home :: filip.sergot.pl</title> | |
# <meta charset="UTF-8"> | |
# | |
# <meta name="description" content="Mostly about programming. Perl, Perl6, C and many others. Science too."> | |
# <meta name="keywords" content="programming,perl,perl6,hacking,c,science"> | |
# <meta name="author" content="Filip Sergot"> | |
# | |
# <link rel="shortcut icon" href="/img/favicon.ico" type="image/x-icon"> | |
# | |
# <link rel="alternate" type="application/atom+xml" title="sergot's RSS" href="http://filip.sergot.pl/index.atom"> | |
# | |
# <link rel="stylesheet" type="text/css" href="/css/style.css"> | |
# | |
# <script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script> | |
# <!-- There will be some JS, I promise! :) --> | |
# <script src="/js/main.js"></script> | |
# | |
# <link href='http://fonts.googleapis.com/css?family=Roboto' rel='stylesheet' type='text/css'/> | |
# <link href='http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300' rel='stylesheet' type='text/css'/> | |
# | |
# <!-- Piwik --> | |
# <script type="text/javascript"> | |
# var _paq = _paq || []; | |
# _paq.push(["setDocumentTitle", document.domain + "/" + document.title]); | |
# _paq.push(["setCookieDomain", "*.sergot.pl"]); | |
# _paq.push(["setDomains", ["*.sergot.pl"]]); | |
# _paq.push(["trackPageView"]); | |
# _paq.push(["enableLinkTracking"]); | |
# | |
# (function() { | |
# var u=(("https:" == document.location.protocol) ? "https" : "http") + "://piwik.agilob.net/"; | |
# _paq.push(["setTrackerUrl", u+"piwik.php"]); | |
# _paq.push(["setSiteId", "7"]); | |
# var d=document, g=d.createElement("script"), s=d.getElementsByTagName("script")[0]; g.type="text/javascript"; | |
# g.defer=true; g.async=true; g.src=u+"piwik.js"; s.parentNode.insertBefore(g,s); | |
# })(); | |
# </script> | |
# <!-- End Piwik Code --> | |
# </head> | |
# <body> | |
# <div id="all"> | |
# <div id="header"> | |
# <div id="logo"> | |
# <img src="/img/logo.jpg" class="logo" alt="Filip Sergot :: filip.sergot.pl :: logo" width="200" style="float: left; vertical-align: middle;"> | |
# <div class="logotext">sergot's homepage</div> | |
# <div class="logodesc">Programming and stuff.</div> | |
# </div> | |
# <div id="menubarhor"> | |
# <ul class="menubarhor"> | |
# <li><a href="/en">home</a></li> | |
# <li><a href="/en/site/contact">contact</a></li> | |
# </ul> | |
# <ul class="menubarhor" style="float: right; margin-right: 4px;"> | |
# <li><a href="/index.atom">rss</a></li> | |
# </ul> | |
# </div> | |
# </div> | |
# <div id="centrum"> | |
# <div id="content"> | |
# <div id="blueline"></div> | |
# <div id="postwin"> | |
# <div id="post"> | |
# <div class="postthumbnail"> | |
# <img src="/img/blog/gsoc_logo.png" width="200" height="200" alt="[GSoC] HTTP::Message, HTTP::Cookies and DateTime::Parse"> | |
# </div> | |
# <h2 class="posttitle"> | |
# <a href="/en/blog/perl6/gsoc_http_cookies_message_datetime_parse">[GSoC] HTTP::Message, HTTP::Cookies and DateTime::Parse</a> | |
# </h2> | |
# <div id="postinfo"><span class="postauthor">sergot</span><span class="postdate">2014-06-03</span></div> | |
# ' | |
1..3 | |
pm => /home/likewise-open/ALLEGROGROUP/filip.sergot/p6/http-useragent/lib/HTTP/UserAgent.pm6 | |
use of uninitialized value of type Any in string context | |
load => | |
key => /home/likewise-open/ALLEGROGROUP/filip.sergot/p6/http-useragent/lib/HTTP/UserAgent.pm6 | |
ok 1 - 'use HTTP::UserAgent :simple; get('filip.sergot.pl/404here')' died | |
ok 2 - right exception type (X::HTTP::Response) | |
ok 3 - .message matches Response error: '404 Not Found' | |
ok 4 - did we throws_like X::HTTP::Response? | |
# Looks like you failed 2 tests of 4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment