comparison src/testdir/test_startup.vim @ 14828:421e120ffb30 v8.1.0426

patch 8.1.0426: accessing invalid memory in SmcOpenConnection() commit https://github.com/vim/vim/commit/4841a7ccaed57f723016656e9683b587ac91f621 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Sep 22 14:08:49 2018 +0200 patch 8.1.0426: accessing invalid memory in SmcOpenConnection() Problem: Accessing invalid memory in SmcOpenConnection(). Solution: Reduce size of errorstring by one. (Dominique Pelle, closes https://github.com/vim/vim/issues/3469)
author Christian Brabandt <cb@256bit.org>
date Sat, 22 Sep 2018 14:15:05 +0200
parents d47c8d294d1a
children c31e4b1fa4fd
comparison
equal deleted inserted replaced
14827:56b71e259a61 14828:421e120ffb30
270 endfunc 270 endfunc
271 271
272 " Test the -V[N]{filename} argument to set the 'verbose' option to N 272 " Test the -V[N]{filename} argument to set the 'verbose' option to N
273 " and set 'verbosefile' to filename. 273 " and set 'verbosefile' to filename.
274 func Test_V_file_arg() 274 func Test_V_file_arg()
275 if RunVim([], [], ' --clean -X -V2Xverbosefile -c "set verbose? verbosefile?" -cq') 275 if RunVim([], [], ' --clean -V2Xverbosefile -c "set verbose? verbosefile?" -cq')
276 let out = join(readfile('Xverbosefile'), "\n") 276 let out = join(readfile('Xverbosefile'), "\n")
277 call assert_match("sourcing \"$VIMRUNTIME[\\/]defaults\.vim\"\n", out) 277 call assert_match("sourcing \"$VIMRUNTIME[\\/]defaults\.vim\"\n", out)
278 call assert_match("\n verbose=2\n", out) 278 call assert_match("\n verbose=2\n", out)
279 call assert_match("\n verbosefile=Xverbosefile", out) 279 call assert_match("\n verbosefile=Xverbosefile", out)
280 endif 280 endif