[tor-bugs] #17085 [Tor]: Improve coverage on src/common/util_process.c

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Sep 22 18:26:50 UTC 2015


#17085: Improve coverage on src/common/util_process.c
-----------------------------+--------------------------------
     Reporter:  rjunior      |      Owner:
         Type:  enhancement  |     Status:  needs_revision
     Priority:  normal       |  Milestone:  Tor: 0.2.8.x-final
    Component:  Tor          |    Version:
   Resolution:               |   Keywords:  testing
Actual Points:               |  Parent ID:
       Points:               |
-----------------------------+--------------------------------
Changes (by rl1987):

 * status:  needs_review => needs_revision


Comment:

 Your `test_util_process_clear_waitpid_callback()` does not seem to
 checking for anything, unless you consider not crashing to be success. For
 some reason it calls `clear_waitpid_callback()` twice. Since you have some
 log capturing setup ready, maybe you should add some log statements to
 `clear_waitpid_callback()` and look for corresponding entries in the log
 to infer success/failure of `clear_waitpid_callback()` function.

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


More information about the tor-bugs mailing list