[tor-bugs] #8622 [Stem]: Test failing to clean up /tmp resources

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Apr 7 04:56:40 UTC 2013


#8622: Test failing to clean up /tmp resources
--------------------------+-------------------------------------------------
 Reporter:  atagar        |          Owner:  atagar
     Type:  defect        |         Status:  new   
 Priority:  trivial       |      Milestone:        
Component:  Stem          |        Version:        
 Keywords:  testing easy  |         Parent:        
   Points:                |   Actualpoints:        
--------------------------+-------------------------------------------------

Comment(by atagar):

 > In stem/runner.py line 286 - self._test_dir = tempfile.mktemp("-stem-
 integ")

 Stem has a 'integ.test_directory' config option set by default so in
 practice no one ever hits this line (... maybe we should remove it). This
 is from when I first started writing stem's tests and thought that
 developers would always want a fresh data directory for tor. In practice
 it's simple enough to blow away './test/data'.

 So long story short your princess is in another castle - this is not the
 line making the temporary resources. Have you tried running the integ
 tests to see what is being created in /tmp?

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


More information about the tor-bugs mailing list