[tor-bugs] #7926 [Stem]: Avoid static /tmp usage

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Jan 11 04:49:21 UTC 2013


#7926: Avoid static /tmp usage
---------------------+------------------------------------------------------
 Reporter:  atagar   |          Owner:  atagar
     Type:  defect   |         Status:  new   
 Priority:  minor    |      Milestone:        
Component:  Stem     |        Version:        
 Keywords:  testing  |         Parent:        
   Points:           |   Actualpoints:        
---------------------+------------------------------------------------------
 Stem's tests have at least a couple places where it uses a static /tmp
 location...

 * The RUN_SOCKET target uses '/tmp/stem_integ/socket' as the control
 socket.
 * The process integ tests use '/tmp/stem_integ' as tor's data directory.

 We should use the tempfile module to a pick dynamic testing location
 instead. Issue reported by Dererk.

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


More information about the tor-bugs mailing list