[tor-bugs] #9363 [Tor]: test_pt_configure_proxy() tests should be improved.

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Jul 31 17:50:35 UTC 2013


#9363: test_pt_configure_proxy() tests should be improved.
--------------------+-------------------------------------------------------
 Reporter:  nickm   |          Owner:                    
     Type:  defect  |         Status:  new               
 Priority:  normal  |      Milestone:  Tor: 0.2.5.x-final
Component:  Tor     |        Version:                    
 Keywords:  tor-pt  |         Parent:                    
   Points:          |   Actualpoints:                    
--------------------+-------------------------------------------------------
 From #9288:

 >Could we expand the unit tests so that they actually *check* the expected
 outputs? That is, I expect that configuring a proxy is supposed to result
 in some changes to the proxy, to the or_state_t object, calls to other
 function, and changes or calls to other stuff. There are lots of bugs that
 could lurk here that wouldn't get tested if all we check for is "return 0
 five times, then return 1."

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/9363>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list