casaroli opened a new pull request, #4172: URL: https://github.com/apache/nuttx-apps/pull/4172
depends-on: apache/nuttx#22441 ## Summary New case `test_tcp_cork` in `cmocka_net_tcp` (`testing/nettest/tcp/test_tcp_bind_listen.c`, IPv4 on the loopback address): `setsockopt(TCP_CORK)` takes 1 and 0, `getsockopt()` gives the value back, and a byte sent while the socket is corked reaches the peer when the cork is removed. It needs `CONFIG_NET_TCPPROTO_OPTIONS`. ## Impact Test only. Without apache/nuttx#22441 the case fails: `setsockopt(TCP_CORK, 1)` gives `ENOSYS`. ## Testing qemu-armv8a:nsh (flat), QEMU TCG, CI image (gcc 12.3), 3 boots each: on master 24f2db7fe8d the case fails 3 of 3 (`ENOSYS`); with apache/nuttx#22441 it passes 3 of 3. The whole `cmocka_net_tcp` with the fix: 37 of 38 pass; `test_tcp_reset_send` fails on master too in a flat build. Builds with `-Werror`: qemu-armv8a:nsh and rv-virt:netnsh64 with `cmocka_net_tcp`. `tools/checkpatch.sh -c -u -m -g` passes. -- 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]
