[LTP] [PATCH v3 1/2] poll: add basic POLLHUP semantics test
Andrea Cervesato
andrea.cervesato@suse.de
Wed Feb 25 12:39:04 CET 2026
From: Andrea Cervesato <andrea.cervesato@suse.com>
On Wed, 25 Feb 2026 02:15:38 +0900, Jinseok Kim wrote:
> Add a basic poll() test to verify that POLLHUP is reported when the
> peer end of a pipe is closed.
>
> The test creates a pipe, closes the write end, and polls the read end
> for POLLIN events. poll() is expected to return successfully and set
> POLLHUP in revents.
>
> [...]
Applied, thanks!
[1/2] poll: add basic POLLHUP semantics test
commit: de9426e858f1de8fbe0a8c86676a193907c6ddce
[2/2] poll: add test for POLLNVAL on invalid fd
commit: c7a45fc28c75092dd86340c5cbf0f8124509522d
Best regards,
--
Andrea Cervesato <andrea.cervesato@suse.com>
More information about the ltp
mailing list