summaryrefslogtreecommitdiff
path: root/test/test_tmpdir.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_tmpdir.rb')
-rw-r--r--test/test_tmpdir.rb13
1 files changed, 0 insertions, 13 deletions
diff --git a/test/test_tmpdir.rb b/test/test_tmpdir.rb
index 42bcbc00a8..c599dcf516 100644
--- a/test/test_tmpdir.rb
+++ b/test/test_tmpdir.rb
@@ -11,19 +11,6 @@ class TestTmpdir < Test::Unit::TestCase
assert_equal(tmpdir_org, Dir.tmpdir)
end
- def test_tmpdir_modifiable_safe
- Thread.new {
- $SAFE = 1
- tmpdir = Dir.tmpdir
- assert_equal(false, tmpdir.frozen?)
- tmpdir_org = tmpdir.dup
- tmpdir << "foo"
- assert_equal(tmpdir_org, Dir.tmpdir)
- }.join
- ensure
- $SAFE = 0
- end
-
def test_world_writable
skip "no meaning on this platform" if /mswin|mingw/ =~ RUBY_PLATFORM
Dir.mktmpdir do |tmpdir|