Subject: | t/live_app fails for 1.012 |
Date: | Wed, 21 Apr 2010 17:22:28 +0200 |
To: | bug-Catalyst-Authentication-Credential-HTTP [...] rt.cpan.org |
From: | bd [...] bc-bd.org |
Hi,
this is on debian lenny.
/tmp/Catalyst-Authentication-Credential-HTTP-1.012$ prove -l t
t/basic..............ok
t/live_app...........[error] Caught exception in AuthTestApp::Controller::Root->auto "authenticate called with nonexistant realm: 'default'. at /tmp/Catalyst-Authentication-Credential-HTTP-1.012/t/lib/AuthTestApp/Controller/Root.pm line 11"
# Failed test 'status is 401'
# at t/live_app.t line 21.
# got: '500'
# expected: '401'
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Language" content="en" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>AuthTestApp</title>
<script type="text/javascript">
<!--
function toggleDump (dumpElement) {
var e = document.getElementById( dumpElement );
if (e.style.display == "none") {
e.style.display = "";
}
else {
e.style.display = "none";
}
}
-->
</script>
<style type="text/css">
body {
font-family: "Bitstream Vera Sans", "Trebuchet MS", Verdana,
Tahoma, Arial, helvetica, sans-serif;
color: #333;
background-color: #eee;
margin: 0px;
padding: 0px;
}
:link, :link:hover, :visited, :visited:hover {
color: #000;
}
div.box {
position: relative;
background-color: #ccc;
border: 1px solid #aaa;
padding: 4px;
margin: 10px;
}
div.error {
background-color: #cce;
border: 1px solid #755;
padding: 8px;
margin: 4px;
margin-bottom: 10px;
}
div.infos {
background-color: #eee;
border: 1px solid #575;
padding: 8px;
margin: 4px;
margin-bottom: 10px;
}
div.name {
background-color: #cce;
border: 1px solid #557;
padding: 8px;
margin: 4px;
}
code.error {
display: block;
margin: 1em 0;
overflow: auto;
}
div.name h1, div.error p {
margin: 0;
}
h2 {
margin-top: 0;
margin-bottom: 10px;
font-size: medium;
font-weight: bold;
text-decoration: underline;
}
h1 {
font-size: medium;
font-weight: normal;
}
/* from http://users.tkk.fi/~tkarvine/linux/doc/pre-wrap/pre-wrap-css3-mozilla-opera-ie.html */
/* Browser specific (not valid) styles to make preformatted text wrap */
pre {
white-space: pre-wrap; /* css-3 */
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: -o-pre-wrap; /* Opera 7 */
word-wrap: break-word; /* Internet Explorer 5.5+ */
}
</style>
</head>
<body>
<div class="box">
<div class="error"></div>
<div class="infos"><pre>
(en) Please come back later
(fr) SVP veuillez revenir plus tard
(de) Bitte versuchen sie es spaeter nocheinmal
(at) Konnten's bitt'schoen spaeter nochmal reinschauen
(no) Vennligst prov igjen senere
(dk) Venligst prov igen senere
(pl) Prosze sprobowac pozniej
</pre>
</div>
<div class="name"></div>
</div>
</body>
</html>
at t/live_app.t line 21.
# Looks like you planned 4 tests but only ran 1.
# Looks like you failed 1 test of 1 run.
# Looks like your test died just after 1.
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-4
Failed 4/4 tests, 0.00% okay
t/live_app_digest....
# Failed test 'status is 200'
# at t/live_app_digest.t line 66.
# got: '401'
# expected: '200'
# Failed test 'Mufasa output'
# at t/live_app_digest.t line 67.
# searched: "Authorization required."
# can't find: "Mufasa"
# Failed test 'status is 200'
# at t/live_app_digest.t line 66.
# got: '401'
# expected: '200'
# Failed test 'Mufasa output'
# at t/live_app_digest.t line 67.
# searched: "Authorization required."
# can't find: "Mufasa2"
# Failed test 'status is 200'
# at t/live_app_digest.t line 66.
# got: '401'
# expected: '200'
# Failed test 'Mufasa output'
# at t/live_app_digest.t line 67.
# searched: "Authorization required."
# can't find: "Mufasa"
# Looks like you failed 6 tests of 12.
dubious
Test returned status 6 (wstat 1536, 0x600)
DIED. FAILED tests 3-4, 7-8, 11-12
Failed 6/12 tests, 50.00% okay
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/live_app.t 255 65280 4 7 1-4
t/live_app_digest.t 6 1536 12 6 3-4 7-8 11-12
Failed 2/3 test scripts. 10/51 subtests failed.
Files=3, Tests=51, 8 wallclock secs ( 7.46 cusr + 0.64 csys = 8.10 CPU)
Failed 2/3 test programs. 10/51 subtests failed.
--
You feel a whole lot more like you do now than you did when you used to.