When testing cap_connect() and name/addr lookup functions, skip tests if
we fail and the error is not ENOTCAPABLE. This makes the tests amenable
to running in CI without Internet connectivity.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 50558 Build 47449: arc lint + arc unit
Event Timeline
lib/libcasper/services/cap_net/tests/net_test.c | ||
---|---|---|
140 | I should probably reorder the previous function instead. I did it that way initially but in some of the tests we expect the non-casper version to fail. So the pattern is:
I'll change the other functions so that this is consistent. |