Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=716174
Petr Pisar <ppisar(a)redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ppisar(a)redhat.com
--- Comment #7 from Petr Pisar <ppisar(a)redhat.com> 2011-06-24 08:36:17 EDT ---
Tests fail:
Can't call method "name" on an undefined value at
/builddir/build/BUILD/OpenFrame-3.05/blib/lib/OpenFrame/Cookies.pm line 47.
# Looks like you planned 15 tests but ran 2.
# Looks like your test exited with 255 just after 2.
t/01request.t .......
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 13/15 subtests
no_plan takes no arguments at t/02http_request.t line 10.
[OpenFrame::Segment::HTTP::Response::OpenFrame::Segment::HTTP::Response::dispatch]
no response available at /usr/share/perl5/vendor_perl/Pipeline/Dispatch.pm line
74
t/02http_request.t .. ok
t/03argument.t ...... ok
Can't call method "name" on an undefined value at
/builddir/build/BUILD/OpenFrame-3.05/blib/lib/OpenFrame/Cookies.pm line 47.
# Looks like you planned 20 tests but ran 2.
# Looks like your test exited with 255 just after 2.
t/04response.t ......
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 18/20 subtests
This happens when tests do:
ok($cookie = OpenFrame::Cookies->new(), "created cookietin okay");
ok($cookie->set(colour => "red"), "set cookie okay");
Because $cookie->set() does:
my $cookie = OpenFrame::Cookie->new();
$cookie->name( $key );
and that fails because OpenFrame::Cookie->new() returns undef,
OpenFrame::Cookie is ISA of CGI::Cookie and CGI::Cookie->new() returns undef.
Seems like bug in CGI::Cookie, that is provided with perl-CGI.
Last successful build was against 0:perl-CGI-3.50-2.fc15.noarch.
--
Configure bugmail:
https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.