There was an error while loading. Please reload this page.
1 parent db6ca74 commit 1aa9004Copy full SHA for 1aa9004
1 file changed
test/test_tmpdir.rb
@@ -92,6 +92,7 @@ def test_writable_fallback_to_stat
92
93
def test_writable_fallback_both_fail
94
omit "no meaning on this platform" if /mswin|mingw/ =~ RUBY_PLATFORM
95
+ omit "root can write to any directory" if Process.uid == 0
96
Dir.mktmpdir do |tmpdir|
97
envs = %w[TMPDIR TMP TEMP]
98
oldenv = envs.each_with_object({}) {|v, h| h[v] = ENV.delete(v)}
0 commit comments