This program tests that the proper exit code is propagated to the shell.
$ ./bin/accumulo org.apache.accumulo.start.TestMain
$ ./bin/accumulo org.apache.accumulo.start.TestMain badExit
$ ./bin/accumulo org.apache.accumulo.start.TestMain throw
The last case tests the proper logging of an exception.