Prevent a failure if system compiled with a WITHOUT_JAIL.
Details
Details
- Reviewers
lwhsu ngie kevans - Group Reviewers
tests - Commits
- rS360465: Skip bectl jail test if jail not installed (WITHOUT_JAIL).
Diff Detail
Diff Detail
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Comment Actions
Interesting; I didn't realize we had a WITHOUT_JAIL option, and I'm a little surprised that it's not more invasive than it is. Right now it will only remove jail/jexec/jls, the jail rc script, and remove jail support from ifconfig... there's a number of other things that could probably be trivially taught to drop jail support WITHOUT_JAIL so that libjail isn't required either.
Nonetheless, this change is definitely correct. =-)