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

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Aug 5 14:12:22 UTC 2013


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

  * status:  assigned => needs_review


Comment:

 See my branch `bug9363` for a bit more robust unit test.

 Unfortunately, I couldn't test the `or_state_t` transport registration
 since it depends on `statefile.c:global_state` which is a global variable
 and hence not easily testable.

 Also, I'm getting a compile error when I try to build with coverage:
 {{{
 /usr/bin/ld: tor_main.o: relocation R_X86_64_32 against '.data' can not be
 used when making a shared object; recompile with -fPIC
 }}}
 Any idea what's up with this?

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


More information about the tor-bugs mailing list