file_perm_spec: Fix the test condition on Windows.

This commit is contained in:
Jurica Bradaric
2016-05-20 09:19:16 +02:00
parent 07382048b0
commit 114fd52230

View File

@@ -22,7 +22,7 @@ describe('Test getting and setting file permissions', function()
eq(1, call('setfperm', tempfile, 'rwx------'))
if helpers.os_name == 'windows' then
eq('rwx------', call('getfperm', tempfile))
eq('rw-rw-rw-', call('getfperm', tempfile))
else
eq('rwx------', call('getfperm', tempfile))
end