[LTP] [PATCH v2] openposix: Fix aio_suspend/1-1 completion race

Martin Doucha mdoucha@suse.cz
Fri Oct 2 17:21:48 CEST 2026


On 10/1/26 18:16, Petr Vorel wrote:
>> diff --git a/testcases/open_posix_testsuite/conformance/interfaces/aio_suspend/1-1.c b/testcases/open_posix_testsuite/conformance/interfaces/aio_suspend/1-1.c
>> index 8f0c9ae95..d08709ee9 100644
>> --- a/testcases/open_posix_testsuite/conformance/interfaces/aio_suspend/1-1.c
>> +++ b/testcases/open_posix_testsuite/conformance/interfaces/aio_suspend/1-1.c
>> @@ -7,216 +7,168 @@
>>    */
> 
>>   /*
>> - * assertion:
> I'm not sure how important is to keep the doc structure, but other tests
> keep having "assertion:" and "method:" (e.g.
> testcases/open_posix_testsuite/conformance/interfaces/aio_cancel/6-1.c
> which Martin rewrote).
> That somehow correlates with assertions for aio_suspend() in
> testcases/open_posix_testsuite/conformance/interfaces/aio_suspend/assertions.xml

Hi,
the "assertion" section in the header comment quotes the relevant part 
of the POSIX standard. It could be updated to the wording from the 
latest POSIX revision but in general should be kept. "Steps" could then 
be renamed to "method" to keep the common format.

I'll have a closer look at the code on Monday.

-- 
Martin Doucha   mdoucha@suse.cz
SW Quality Engineer
SUSE LINUX, s.r.o.
CORSO IIa
Krizikova 148/34
186 00 Prague 8
Czech Republic


More information about the ltp mailing list