casaroli opened a new pull request, #4169: URL: https://github.com/apache/nuttx-apps/pull/4169
depends-on: apache/nuttx#22431 ## Summary Two cases for `cmocka_epoll` (testing/fs/epoll): - `epoll04`: `EPOLL_CTL_DEL` and `EPOLL_CTL_MOD` of an fd that is not in the set fail with `ENOENT`, also after the fd was added and removed. - `epoll05` (with `CONFIG_PIPES`): the write end of a pipe whose read end is closed reports `POLLOUT | POLLERR` in poll() and `EPOLLOUT | EPOLLERR` in epoll_wait(), as on Linux. The first commit only removes a trailing space that `checkpatch.sh` reports for the whole of `epoll.c`. ## Impact Test only. ## Testing qemu-armv8a:nsh (flat, CI image, QEMU TCG): with nuttx master, epoll04 fails (`0 != -1`) and epoll05 fails (`8 != 12`); with apache/nuttx#22431 both pass. The older cases epoll01 to epoll03 fail the same with and without the kernel change under QEMU TCG (timing). Builds with `-Werror`: qemu-armv8a:nsh and rv-virt:netnsh with `TESTING_EPOLL`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
