[LTP] [PATCH v2 1/2] poll: add basic POLLHUP semantics test

Jinseok Kim always.starving0@gmail.com
Sat Feb 21 14:33:46 CET 2026


Hi,

Thanks for the review.

I've added the return value check as suggested. Since TST_RET is a long,
I used %ld in the message to match the type and avoid format warnings.

The suggestion about closing the fd while poll() is sleeping in the
kernel makes sense as well. I'll keep this in mind and consider adding
such a scenario as a follow-up test using the thread helpers you
mentioned.

Best regards,
Jinseok.


More information about the ltp mailing list