[LTP] [PATCH 1/1] select03: Fix false positive on TCONF

Cyril Hrubis chrubis@suse.cz
Wed Nov 13 15:04:05 CET 2024


Hi!
> As long as all errors are reported by the child through 
> tst_res()/tst_brk(), we don't need to care about the exit code since 
> it'll be recorded in the shared result buffer. I vote for removing the 
> WEXITSTATUS() check and adding a comment above the condition that it's 
> not needed.

I think that doing exit(TTYPE_RESULT(type)) in the tst_vbrk_() for the
child processes was a mistake that needs to be corrected either way. I
will send a patch for the test library to finally fix that and then
there will be no cases where the child exits with anything but 0.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list