[tor-bugs] #8510 [Tor]: Add useful Hidden Service related events to the Tor control port

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Jan 25 12:55:16 UTC 2014


#8510: Add useful Hidden Service related events to the Tor control port
-------------------------+----------------------------------------------
     Reporter:  hellais  |      Owner:
         Type:  task     |     Status:  needs_revision
     Priority:  normal   |  Milestone:  Tor: unspecified
    Component:  Tor      |    Version:
   Resolution:           |   Keywords:  tor-hs controller needs-proposal
Actual Points:           |  Parent ID:  #8993
       Points:           |
-------------------------+----------------------------------------------

Comment (by asn):

 Replying to [comment:32 dave2008]:
 > Agree. I am wondering where which file I should put the testcase in.
 >
 > Since node_describe_by_id is a generic router specific function, it
 obviously does not belong to test_hs.c. Is there any test module that is
 specifically for router related functions?

 Hm, there is no `test_router.c` indeed. And there doesn't seem to be a
 place with lots of router.c unittests either (`test_dir.c` contains a
 few).

 I would suggest making your own `test_router.c`. We will need to unit test
 the rest of the funcs at `router.c` at some point anyway... If you think
 that's a poor idea, maybe you can put the test in `test.c` or `test_hs.c`
 but it doesn't look very suiting...

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


More information about the tor-bugs mailing list