[tor-bugs] #31631 [Core Tor/Tor]: Write a test for round-trip encode/decode operations on configuration objects.

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Sep 4 19:12:12 UTC 2019


#31631: Write a test for round-trip encode/decode operations on configuration
objects.
-------------------------------+--------------------------------
     Reporter:  nickm          |      Owner:  (none)
         Type:  defect         |     Status:  new
     Priority:  Medium         |  Milestone:  Tor: 0.4.2.x-final
    Component:  Core Tor/Tor   |    Version:
     Severity:  Normal         |   Keywords:
Actual Points:                 |  Parent ID:  #29211
       Points:                 |   Reviewer:
      Sponsor:  Sponsor31-can  |
-------------------------------+--------------------------------
 We should have tests to round-trip through torrc, state, and sr_disk_state
 objects.  We should make sure that encoding a configuration object and
 then parsing it again gives us the same result.

 We might be able to turn this into a fuzzer test.

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


More information about the tor-bugs mailing list