casaroli opened a new pull request, #4185:
URL: https://github.com/apache/nuttx-apps/pull/4185

   ## Summary
   
   New case `test_local_dgram_pair_name` in `cmocka_net_local_dgram`. For a 
datagram and a stream socket pair, `getsockname()`, `getpeername()` and the 
source address of `recvfrom()` of each end must give an unnamed address: only 
`sun_family`, with an address length of `sizeof(sa_family_t)`, as on Linux. 
This is the test of apache/nuttx#22436.
   
   ## Impact
   
   Test only. No change to other cases.
   
   ## Testing
   
   qemu-armv8a:nsh (flat) with local stream and datagram sockets, CI image, 
QEMU TCG: on nuttx master with the fix of apache/nuttx#22436 reverted, the case 
FAILED (address length 15, the internal name of the pair); on nuttx master it 
PASSED. The other cases give the same result on both.
   
   Builds with `-Werror` in the CI image: qemu-armv8a:nsh (make and CMake), 
qemu-armv8a:knsh (kernel, `make import`).
   


-- 
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]

Reply via email to