Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wait01: Use TST_EXP_FAIL2() for wait
Both wait() and waitpid() return PID, therefore (similarly as for file descriptor) pass condition is >= 0, which is in TST_EXP_FAIL2(). Therefore TST_EXP_FAIL2() or TST_EXP_PID{,_SILENT} needs to be used. Affected only wait01. Link: https://lore.kernel.org/ltp/20240509144046.312245-1-pvorel@suse.cz/ Reviewed-by: Petr Vorel <pvorel@suse.cz> Signed-off-by: Petr Vorel <pvorel@suse.cz>
- Loading branch information