0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

patch 7.4.1521

Problem:    File permission test fails on MS-Windows.
Solution:   Expect a different permission.
This commit is contained in:
Bram Moolenaar
2016-03-08 19:20:04 +01:00
parent d9d473ea12
commit 8322e1f06e
2 changed files with 7 additions and 1 deletions

View File

@@ -8,7 +8,11 @@ func Test_file_perm()
call assert_true(len(getfperm('Xtest')) == 9)
call assert_equal(1, setfperm('Xtest', 'rwx------'))
call assert_equal('rwx------', getfperm('Xtest'))
if has('win32')
call assert_equal('rw-rw-rw-', getfperm('Xtest'))
else
call assert_equal('rwx------', getfperm('Xtest'))
endif
call assert_equal(1, setfperm('Xtest', 'r--r--r--'))
call assert_equal('r--r--r--', getfperm('Xtest'))

View File

@@ -743,6 +743,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1521,
/**/
1520,
/**/