[tor-bugs] #8638 [Tor]: mkdir fails in test suite

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Apr 4 15:41:42 UTC 2013


#8638: mkdir fails in test suite
----------------------------+-----------------------------------------------
 Reporter:  weasel          |          Owner:                     
     Type:  defect          |         Status:  new                
 Priority:  minor           |      Milestone:  Tor: 0.2.4.x-final 
Component:  Tor             |        Version:  Tor: 0.2.4.11-alpha
 Keywords:  024-deferrable  |         Parent:                     
   Points:                  |   Actualpoints:                     
----------------------------+-----------------------------------------------
Changes (by nickm):

  * keywords:  => 024-deferrable
  * milestone:  => Tor: 0.2.4.x-final


Comment:

 seems like we should

 A) have tor's tests + tinytest + windows behave nicer together, by
 creating a tempdir only in the main tinytest process, and not in the
 subprocesses.  An environment variable or command-line flag seems a likely
 way to pass the info to the subprocess.

 B) Have the tempdir names be less likely to repeat.  Adding a random
 string or the current time or both seems plausible.

 I'd take a patch for either.

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


More information about the tor-bugs mailing list