sjtest -- test a sysjail for correctness
sjtest [-p path] [-s path] [-t test] file ...
The sjtest utility tests a prison for proper operation. It's intended to be run either fully from within a jail (with the -t flag) or the host environment. When run without -t, sjtest executes a series of jails, each with a function to be tested. The system halts on the first instance of failure. When run with -t, one test fixture is executed.
This is a development utility and shouldn't be used lightly. If used incorrectly, this can hose your host environment.
The sjtest utility returns 0 on success or 1 on failure. Failure may leave the hosting system in an inconsistent state.
sysjail(1) , jail(1) , sysjail(3) , sjls(1) , jls(1)
The sjtest utility was written by Kristaps Dzonsons for the bsd.lv project.