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

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Feb 4 03:53:52 UTC 2013


#7926: Avoid static /tmp usage
--------------------------+-------------------------------------------------
 Reporter:  atagar        |          Owner:  atagar        
     Type:  defect        |         Status:  needs_revision
 Priority:  minor         |      Milestone:                
Component:  Stem          |        Version:                
 Keywords:  testing easy  |         Parent:                
   Points:                |   Actualpoints:                
--------------------------+-------------------------------------------------
Changes (by atagar):

  * status:  needs_review => needs_revision


Comment:

 Hi Abhishek. mkdtemp() is to make a temporary directory so the usage in
 test/integ/process.py is correct, but CONTROL_SOCKET_PATH is a file so
 that'll cause problems. If you run "run_tests.py --integ --target
 RUN_SOCKET" then I suspect that you'll encounter an issue.

 For test/integ/process.py it would also be nice if we cleaned up the
 temporary resource after those tests have completed, otherwise each test
 run will make a new temporary directory.

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


More information about the tor-bugs mailing list