[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs