test: add coverage to dgram receive error case
This commit adds coverage for the case where a dgram socket
handle receives a message, but nread
< 0, indicating an error.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines
Affected core subsystem(s)
test