8000 Disable recover file permissions test on Windows · jspanjers/rubyzip@71534ff · GitHub
[go: up one dir, main page]

Skip to content

Commit 71534ff

Browse files
committed
Disable recover file permissions test on Windows
1 parent 6225fee commit 71534ff

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/file_test.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,11 @@ def test_add_stored
285285
end
286286

287287
def test_recover_permissions_after_add_files_to_archive
288+
if Zip::RUNNING_ON_WINDOWS
289+
# Windows NT does not support granular permissions
290+
return
291+
end
292+
288293
src_zip = TEST_ZIP.zip_name
289294
assert(::File.exist?(src_zip))
290295

0 commit comments

Comments
 (0)
0