Skip test if jail binary is missing
Details
Details
- Reviewers
lwhsu - Commits
- rG3562b7b1eb80: hostname(1): skip test if jail binary is missing
A system with WITHOUT_JAIL=YES fails this test with:
Original stderr --------------- /usr/tests/bin/hostname/hostname_test: jail: not found /usr/tests/bin/hostname/hostname_test: jexec: not found Files left in work directory after failure: jail.conf /usr/tests/bin/hostname/hostname_test: jail: not found
Diff Detail
Diff Detail
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Comment Actions
I don't really object this approach, but I don't really support it either. Do you think it's okay to let the test case check if jail utility exists, and skip running if no?