What was wrong here? It ran fine by me as-is (and failed without the rest of the patch)
On 15/11/2010 21:00, j...@apache.org wrote: > Author: joes > Date: Mon Nov 15 19:00:28 2010 > New Revision: 1035412 > > URL: http://svn.apache.org/viewvc?rev=1035412&view=rev > Log: > fix httponly test > > Modified: > httpd/apreq/trunk/glue/perl/t/apreq/cookie.t > > Modified: httpd/apreq/trunk/glue/perl/t/apreq/cookie.t > URL: > http://svn.apache.org/viewvc/httpd/apreq/trunk/glue/perl/t/apreq/cookie.t?rev=1035412&r1=1035411&r2=1035412&view=diff > ============================================================================== > --- httpd/apreq/trunk/glue/perl/t/apreq/cookie.t (original) > +++ httpd/apreq/trunk/glue/perl/t/apreq/cookie.t Mon Nov 15 19:00:28 2010 > @@ -172,11 +172,11 @@ my $location = Apache::TestRequest::modu > my $test = 'httponly'; > my $key = 'apache'; > my $value = 'ok'; > - my $cookie = "$key=$value; HttpOnly"; > + my $cookie = "foo=$test; path=/quux; domain=example.com; HttpOnly"; > my ($header) = > GET_HEAD("$location?test=$test&key=$key") =~ /^#Set-Cookie:\s+(.+)/m; > > - ok t_cmp($header, $cookie_in, $test); > + ok t_cmp($header, $cookie, $test); > > } > >