[tor-commits] [tor/master] capture and detect expected BUG messages in shared-random tests