Skip to content

Commit 1aa9004

Browse files
committed
update
1 parent db6ca74 commit 1aa9004

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

test/test_tmpdir.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ def test_writable_fallback_to_stat
9292

9393
def test_writable_fallback_both_fail
9494
omit "no meaning on this platform" if /mswin|mingw/ =~ RUBY_PLATFORM
95+
omit "root can write to any directory" if Process.uid == 0
9596
Dir.mktmpdir do |tmpdir|
9697
envs = %w[TMPDIR TMP TEMP]
9798
oldenv = envs.each_with_object({}) {|v, h| h[v] = ENV.delete(v)}

0 commit comments

Comments
 (0)