When run with the multiprocess test runner, the getchar() trick doesn't work, so ninja check-lldb would fail on this test, but running the test directly worked fine.
This replaces the getchar() call with an infinite loop.
Thanks to Pavel for the insight.