Hello. Thank you for reporting the issue. The attached patch should fix the problem. It may be a bit of an overkill, perhaps just one of the fixes would suffice, but it seems to work at least. I've re-made your useful script into an Automake test. Since non-deterministic defects may be hard to find and fix, and certainly harder to test if they're fixed, the new version simply runs parallel 'make recheck' a few times "just in case". Without the fix, the test failed in the first or the second run. With the fix, the test (which runs 'make recheck' 5 times) passed 5 times in a row. This *should* be a decent sample. All tests with "check" in the name pass. The test and my patch can, of course, be adapted and further changed. -- Regards - Bogdan ('bogdro') D. (GNU/Linux & FreeDOS) X86 assembly (DOS, GNU/Linux): http://bogdro.evai.pl/index-en.php Soft(EN): http://bogdro.evai.pl/soft http://bogdro.evai.pl/soft4asm www.Xiph.org www.TorProject.org www.LibreOffice.org www.GnuPG.org