[tor-bugs] #14827 [Tor]: Tor controller command to write its file to disk

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Feb 15 21:49:19 UTC 2015


#14827: Tor controller command to write its file to disk
---------------------------+--------------------------------
     Reporter:  Sebastian  |      Owner:
         Type:  defect     |     Status:  new
     Priority:  normal     |  Milestone:  Tor: 0.2.7.x-final
    Component:  Tor        |    Version:
   Resolution:             |   Keywords:
Actual Points:             |  Parent ID:
       Points:             |
---------------------------+--------------------------------

Comment (by atagar):

 Hi Sebastian, sorry about the delay. Now that I think about this some more
 I'm not sure this is something we need from Tor.

 Presently Stem's integ tests check to see if tor has cached descriptors on
 disk and, if so, tests that we can parse them. This test is often skipped
 because we don't have anything on disk. This inconsistency makes it a
 pretty sucky test.

 Originally I added this as a quick and easy test for **can Stem parse
 tor's current descriptors**. We now have
 [https://gitweb.torproject.org/stem.git/tree/test/integ/descriptor/remote.py#n165
 better tests for that] but I left the state test around cuz... *shrug*,
 why not?

 If we want a test for **tor's ability to download the consensus and cache
 something parse-able** to disk then yes, we need this method. However, I'm
 not sure if this is gonna buy us much additional coverage. Up to you.

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


More information about the tor-bugs mailing list