[tor-commits] [tor/release-0.4.0] test/rebind: Make control formatting and log parsing more robust