Skip to content

Commit

Permalink
updates mspec to 1852dc783135155ce36298d50d8b18cf95a02668
Browse files Browse the repository at this point in the history
  • Loading branch information
Watson1978 committed Jun 14, 2012
1 parent 6b3908b commit 7148357
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion mspec/lib/mspec/helpers/tmp.rb
Expand Up @@ -7,9 +7,13 @@

SPEC_TEMP_UNIQUIFIER = "0"

SPEC_TMEM_DIR_PID = Process.pid

at_exit do
begin
Dir.delete SPEC_TEMP_DIR if File.directory? SPEC_TEMP_DIR
if SPEC_TMEM_DIR_PID == Process.pid
Dir.delete SPEC_TEMP_DIR if File.directory? SPEC_TEMP_DIR
end
rescue SystemCallError
STDERR.puts <<-EOM
Expand Down
2 changes: 1 addition & 1 deletion mspec/upstream
@@ -1 +1 @@
8a0be99b4844a9f6dfc1eef7092901e6045e5222
1852dc783135155ce36298d50d8b18cf95a02668

0 comments on commit 7148357

Please sign in to comment.