changeset 14895:bde025b0d7de v8.1.0459

patch 8.1.0459: Test_executable fails when there is a dog in the system commit https://github.com/vim/vim/commit/a05a0d325c7615439f4a42f00682b2ebad43c8d9 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Oct 7 18:43:05 2018 +0200 patch 8.1.0459: Test_executable fails when there is a dog in the system Problem: Test_executable fails when there is a dog in the system. Solution: Rename the dog. (Hirohito Higashi)
author Bram Moolenaar <Bram@vim.org>
date Sun, 07 Oct 2018 18:45:05 +0200
parents 6e8a71f2b3b7
children 73e3c6e6257c
files src/testdir/test_functions.vim src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_functions.vim
+++ b/src/testdir/test_functions.vim
@@ -855,7 +855,7 @@ func Test_Executable()
     call assert_equal(0, executable('win.ini'))
   elseif has('unix')
     call assert_equal(1, executable('cat'))
-    call assert_equal(0, executable('dog'))
+    call assert_equal(0, executable('nodogshere'))
   endif
 endfunc
 
--- a/src/version.c
+++ b/src/version.c
@@ -793,6 +793,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    459,
+/**/
     458,
 /**/
     457,