mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
parent
04de778ef1
commit
df1c035d03
1 changed files with 2 additions and 0 deletions
|
@ -27,6 +27,8 @@ class TestTmpdir < Test::Unit::TestCase
|
|||
File.unlink(tmpdirx)
|
||||
ENV[e] = tmpdir
|
||||
assert_equal(tmpdir, Dir.tmpdir)
|
||||
File.chmod(0555, tmpdir)
|
||||
assert_not_equal(tmpdir, Dir.tmpdir)
|
||||
File.chmod(0777, tmpdir)
|
||||
assert_not_equal(tmpdir, Dir.tmpdir)
|
||||
newdir = Dir.mktmpdir("d", tmpdir) do |dir|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue