casaroli opened a new pull request, #4212: URL: https://github.com/apache/nuttx-apps/pull/4212
depends-on: apache/nuttx/pull/22586 ## Summary New case `test_udp_procfs_columns` in `cmocka_net_udp`: it binds a UDP socket on port 5150, reads `/proc/net/udp` and checks that each line has a value for each column of the header. With `CONFIG_NET_UDP_WRITE_BUFFERS` and `CONFIG_NET_SEND_BUFSIZE` 0 (the default) the lines have the `txsz` value but the header has no `txsz` column; apache/nuttx#22586 fixes the header. ## Impact Test only. The case needs `/proc/net/udp` (`CONFIG_FS_PROCFS`, `CONFIG_NET_STATISTICS`); without it the case is skipped. ## Testing qemu-armv8a:nsh (flat, CI image gcc 12.3, QEMU TCG) with TCP and UDP write buffers, procfs and net statistics: on nuttx master the new case fails (`6 != 5`); with apache/nuttx#22586, `cmocka_net_udp` passes (26 passed, 1 skipped). Builds with `-Werror` (Make): qemu-armv8a:netnsh and rv-virt:netnsh with procfs and statistics, qemu-armv8a:netnsh without statistics (the case is skipped). qemu-intel64:citest_smp (CMake) with `cmocka_net_udp`: builds. -- 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]
