Re: [LTP] OpenPOSIX: Add common entry point function for all tests

Martin Doucha
2026-04-21T08:58:56Z

On 4/17/26 16:44, Petr Vorel wrote:
>>>> This changes verbatim POSIX specification text. The assertions.xml files
>>>> quote the POSIX standard, which defines behaviour relative to main() — the C
>>>> entry point, not an LTP-internal function name. Revert these hunks in both
>>>> pthread_create/assertions.xml and pthread_exit/assertions.xml.
>
>>> +1
>
>> This "issue" is nonsense. I've checked the XML files and the assertions are
>> still correct as is regardless of renaming a few functions. The
>> pthread_create() and pthread_exit() specification applies special treatment
>> to the main thread and adding one more function call between the main()
>> function and the test code does not change that.
>
> I understood that spec talks about main() as a specific C startup function.
> But ok, I was probably wrong.

The spec DOES talk about main() as the C process startup function. But
the AI for some reason believes that my patch can somehow rewrite the
POSIX standard itself.

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