[LTP] [PATCH 1/1] tree: Use TST_EXP_FAIL2() for wait{,id}

Cyril Hrubis chrubis@suse.cz
Thu May 9 16:08:22 CEST 2024


Hi!
> Both wait() and waitid() returns PID, therefore (similarly as for file
> descriptor) pass condition is >= 0, which is in TST_EXP_FAIL2().

Actually waitid() returns whatever was waited for in the siginfo_t
structure and returns just 0 on success.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list