[tor-commits] [tor/master] Avoid undefined behaviour of test