[tor-bugs] #15431 [Tor]: Control Event Mask Unit Tests

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Mar 22 03:15:18 UTC 2015


#15431: Control Event Mask Unit Tests
-----------------------------+--------------------------------
     Reporter:  teor         |      Owner:
         Type:  enhancement  |     Status:  new
     Priority:  normal       |  Milestone:  Tor: 0.2.8.x-final
    Component:  Tor          |    Version:  Tor: 0.2.6.5-rc
   Resolution:               |   Keywords:  tor-relay SponsorR
Actual Points:               |  Parent ID:
       Points:               |
-----------------------------+--------------------------------
Description changed by teor:

Old description:

> I've created some unit tests for the control event mask, based on #13805.
>
> They check that setting `control_testing_set_global_event_mask` and
> testing `control_event_is_interesting` the control event mask works as
> expected.
>
> I just need the bug number to put the git commit together.

New description:

 I've created some unit tests for the control event mask, based on #13805.

 They check that setting `control_testing_set_global_event_mask` and
 testing `control_event_is_interesting` the control event mask works as
 expected.

 I've also added a compile-time check that the number of events doesn't
 exceed the capacity of control_event_t.event_mask.

 I just need the bug number to put the git commit together.

--

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


More information about the tor-bugs mailing list