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

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



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