casaroli opened a new pull request, #4176: URL: https://github.com/apache/nuttx-apps/pull/4176
depends-on: apache/nuttx#22470 ## Summary New case `test_can_name_short` in `cmocka_net_can`. `getsockname()` of a bound `CAN_RAW` socket writes its address into a buffer of 2 bytes. The call must succeed, the buffer gets the first 2 bytes of the address, the bytes after it do not change, and `*addrlen` gives the length of the whole address, as on Linux. ## Impact Test only. The case fails with `EINVAL` until apache/nuttx#22470 merges. ## Testing qemu-armv8a:nsh (flat) with CAN and loopback, CI image, QEMU TCG: the case FAILED (`EINVAL`) on nuttx master, PASSED with apache/nuttx#22470; the other cases of `cmocka_net_can` 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]
