Add optional pretest subcommand.
Inspect exit codes consistently.
Handle empty sbin gracefully.