perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Axel Beckert <>
Subject [PARTIAL PATCH] Re: Bug#709668: embperl: test failure with perl 5.18
Date Sun, 26 Jan 2014 01:14:43 GMT
Hi Gerald,

On Mon, Aug 26, 2013 at 08:13:41AM +0200, Gerald Richter wrote:
> I will take a closer look to it during the next few days, create a
> new tar.gz to make sure nothing is missing and give you a feedback.

I just noticed there's a new Embperl 2.5.0 RC4 and checked how far it
comes with regards to the test suite.

There are still a bunch of hash randomisation issues. I've attached a
patch which fixes all of those I encountered so far by running the
test suite many dozen times. I would expect that you could apply this
patch to your code without changes.

Further I disabled all tests which just check more or less Perl
version specific error messages (i.e. includeerr{2,3}.htm) in our
package build. (But I think that should be solved differently
upstream, if it's an issue for you, too.)

This leaves so far two issues which look like real bugs:

#66 lists.htm fails occassionally and non-deterministically, but it
doesn't seem to be a hash randomisation issue. If it fails, it looks
like this:

#66 lists.htm...              
Error in Line 54
Is:     ></select></p><
Should: ><optionvalue="B"SELECTED>2</option><
Input:          test/html/lists.htm
Output:         test/tmp/out.htm
Compared to:    test/cmp/lists.htm
Log:            test/tmp/test.log
  query_info = sel=2&SEL1=B&SEL3=D&SEL4=cc

And if I check test/tmp/out.htm vs test/cmp/lists.htm, I see

    <p><select name="D1"  size="1">
        <option value="A" >1</option>

but should see

    <p><select name="D1"  size="1">
        <option value="A" >1</option>
        <option value="B" SELECTED>2</option>
        <option value="C" >3</option>
        <option value="D" >4</option>
        <option value="E" >5</option>
        <option value="F" >6</option>

This does not look like a hash randomisation issue to me and hence may
be a real bug.

If #66 passes, the next one which fails (and always fails) is #147

#147 exit.htm...              
Error in Line 11
Is:     After Exit
Should: <EOF>
Input:          test/html/exit.htm
Output:         test/tmp/out.htm
Compared to:    test/cmp/exit.htm
Log:            test/tmp/test.log
  cgi = 0

This looks like a real bug as "[- exit -]" seems to have no effect but
should have an effect.

Hope this helps.

		Regards, Axel
 ,''`.  |  Axel Beckert <>,
: :' :  |  Debian Developer, Admin
`. `'   |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE
  `-    |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5

View raw message