cURL / Mailing Lists / curl-library / Single Mail


Re: test513 failure on s390

From: Daniel Stenberg <>
Date: Thu, 3 Dec 2009 23:04:19 +0100 (CET)

On Thu, 3 Dec 2009, Kamil Dudka wrote:

> I compared the test logs of test513 on a working machine and s390. The only
> difference is this:
> --- log/check-expected 2009-12-03 13:20:44.000000000 -0500
> +++ log/check-generated 2009-12-03 13:20:44.000000000 -0500
> @@ -1,6 +0,0 @@
> -POST /513 HTTP/1.1
> -Host:
> curl.log, server.input, stderr513 are the some in both cases.

That's certainly curious. And isn't server.input looking pretty much like that
POST request it wanted?

> How is the file "log/check-generated" actually generated?

All file checks that does between what a test should get and what
it gets is run through a function and that function generates
log/check-expected to look like what to expect and log/check-generated to
contain what was just gotten. They do variable expansion and so on. If the two
files are not equal, something is wrong.

The same kind of check is done for several different things, so the
information showed just before on the test output provides the key for what
was actually tested when it failed to match.

> If the file is generated from stderr513, then it looks like a perl bug to me.

No, it's taken from server.input which is the raw data sent the test HTTP
server writes down to show the full request. But that's just equally strange
as from what I understand on your description the server.input files looked
the same in both the working and the non-working case.

> But I still can't image how such a bug could be specific to test513.

No, I too have a hard time to see how this happens... These cases tend to be
very hard without actually being able to login and run and debug these things
hands-on. They can in fact still be tricky even then!

List admin:
Received on 2009-12-03