LitTestCommand has a set of descriptions for test result codes, and ends up throwing an exception if an unexpected result is somehow reported.
For example, see the FreeBSD buildbot:
http://lab.llvm.org:8011/builders/lldb-x86_64-freebsd/builds/77/steps/test%20lldb/logs/err.html
We've been running the patch in this review on the FreeBSD-specific buildbot:
http://llvm-amd64.freebsd.your.org/b/builders/lldb-amd64-freebsd