mirror of
https://github.com/neovim/neovim.git
synced 2025-10-02 07:58:35 +00:00
vim-patch:7.4.1521
Problem: File permission test fails on MS-Windows.
Solution: Expect a different permission.
8322e1f06e
This commit is contained in:
@@ -163,7 +163,7 @@ static int included_patches[] = {
|
||||
// 1524 NA
|
||||
// 1523 NA
|
||||
// 1522 NA
|
||||
// 1521,
|
||||
1521,
|
||||
// 1520 NA
|
||||
// 1519 NA
|
||||
// 1518 NA
|
||||
|
@@ -21,7 +21,11 @@ describe('Test getting and setting file permissions', function()
|
||||
eq(9, call('len', call('getfperm', tempfile)))
|
||||
|
||||
eq(1, call('setfperm', tempfile, 'rwx------'))
|
||||
eq('rwx------', call('getfperm', tempfile))
|
||||
if helpers.os_name == 'windows' then
|
||||
eq('rwx------', call('getfperm', tempfile))
|
||||
else
|
||||
eq('rwx------', call('getfperm', tempfile))
|
||||
end
|
||||
|
||||
eq(1, call('setfperm', tempfile, 'r--r--r--'))
|
||||
eq('r--r--r--', call('getfperm', tempfile))
|
||||
|
Reference in New Issue
Block a user