[tor-commits] [tor/master] Add tests for parsing and selecting directory ports.