Page MenuHomeFreeBSD

tests/netgraph: Attribute errors to the caller
ClosedPublic

Authored by donner on Jun 7 2021, 2:03 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 18, 7:39 AM
Unknown Object (File)
Thu, Oct 17, 7:36 AM
Unknown Object (File)
Thu, Oct 17, 12:01 AM
Unknown Object (File)
Oct 14 2024, 10:37 AM
Unknown Object (File)
Oct 13 2024, 12:24 AM
Unknown Object (File)
Oct 12 2024, 3:44 PM
Unknown Object (File)
Oct 11 2024, 7:18 AM
Unknown Object (File)
Oct 9 2024, 3:00 AM

Details

Summary

Errors raised in the common util functions should raise the location
of their caller to be useful and include the errno description.

Depends on D30629

Test Plan

Before

failed: .../util.c:151: -1 != NgSendData(ds, hook, data, len) not met

After

failed: .../basic.c:55: -1 != NgSendData(ds, hook, data, len) not met (No route to host)

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 39766
Build 36655: arc lint + arc unit

Event Timeline

donner requested review of this revision.Jun 7 2021, 2:03 PM
This revision is now accepted and ready to land.Jun 8 2021, 4:00 PM