casaroli opened a new pull request, #4170: URL: https://github.com/apache/nuttx-apps/pull/4170
depends-on: apache/nuttx#22435 ## Summary New case `test_local_dgram_stream_listenconn` in `cmocka_net_local_dgram`. A client waits in `recv()` on a connection that the listener did not accept, in a thread of higher priority. When the listener closes, the client wakes up and connects again to the same name. This `connect()` must fail with `ECONNREFUSED` or `ENOENT`: it must not get a connection on the listener that closes. ## Impact Test only. The case fails until apache/nuttx#22435 merges. ## Testing qemu-armv8a:nsh (flat, one CPU) with local stream and datagram sockets, CI image, QEMU TCG: the case FAILED on nuttx master (the second `connect()` returned 0), PASSED with apache/nuttx#22435; the other 91 cases of `cmocka_net_local_dgram` pass on both. Builds with `-Werror`: qemu-armv8a:nsh, qemu-armv8a:knsh and rv-virt:knetnsh64 (kernel, `make import`), rv-virt:netnsh64. -- 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]
