mirror of
https://github.com/vim/vim.git
synced 2025-09-30 04:44:14 -04:00
patch 7.4.1521
Problem: File permission test fails on MS-Windows. Solution: Expect a different permission.
This commit is contained in:
@@ -8,7 +8,11 @@ func Test_file_perm()
|
|||||||
call assert_true(len(getfperm('Xtest')) == 9)
|
call assert_true(len(getfperm('Xtest')) == 9)
|
||||||
|
|
||||||
call assert_equal(1, setfperm('Xtest', 'rwx------'))
|
call assert_equal(1, setfperm('Xtest', 'rwx------'))
|
||||||
|
if has('win32')
|
||||||
|
call assert_equal('rw-rw-rw-', getfperm('Xtest'))
|
||||||
|
else
|
||||||
call assert_equal('rwx------', getfperm('Xtest'))
|
call assert_equal('rwx------', getfperm('Xtest'))
|
||||||
|
endif
|
||||||
|
|
||||||
call assert_equal(1, setfperm('Xtest', 'r--r--r--'))
|
call assert_equal(1, setfperm('Xtest', 'r--r--r--'))
|
||||||
call assert_equal('r--r--r--', getfperm('Xtest'))
|
call assert_equal('r--r--r--', getfperm('Xtest'))
|
||||||
|
@@ -743,6 +743,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1521,
|
||||||
/**/
|
/**/
|
||||||
1520,
|
1520,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user