This uses the same approach as the auditd(8) tests and starts a rpcbind
service on-demand. This allows changing the SKIPX calls to ERRX as we can
now expect all the tests to pass.
Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 36699 Build 33588: arc lint + arc unit
Event Timeline
Comment Actions
I don't think this is a good idea. Tests really shouldn't be starting services because it can make the tests more flaky, it can mutate system state, and might interfere with other service management systems, like Isilon has on OneFS.
Comment Actions
There are a few other tests that do this, but I agree that it is a bit fragile. The other tests that start services should probably also be adjusted.
Alternatively the service startup could be restricted to CI setup?
I.e. guarding the service startup with:
if (atf_tc_get_config_var_as_bool_wd(tc, "ci", false))