Re: [xml] runtest mystery bug: name2.xml error case regression test



On Tue, Aug 07, 2012 at 12:57:33PM -0400, Daniel Richard G. wrote:
I've encountered what appears to be a Heisenbug in runtest.

Sometimes, when I run "make check", I see
[...]
I believe I've found a way for others to reproduce the issue. The
attached patch (against git master) disables all but the "Error
cases regression tests" set of tests, and with this change, I get a
consistent test failure:

--------8<--------
$ ./runtest
## Error cases regression tests
Error for ./test/errors/name2.xml failed
File ./test/errors/name2.xml generated an error
Total 11 tests, 1 errors, 0 leaks
-------->8--------

I've been unable to track down what's going on, as it occurs deep
inside the parser code and I'm not on strong footing there.

Can anyone else reproduce this, using the patch?

  Really I tried again today to make sure, and even with an
out of tree build and your patch applied, it just work as expected
for me on Fedora 17 x86_64,

thinkpad:~/tmp/build -> ./runtest
## Error cases regression tests
Total 11 tests, no errors
thinkpad:~/tmp/build ->

  I can try 20 times it's always the same,

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel veillard com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]