comparison src/testdir/test_startup.vim @ 24944:d8216679a971 v8.2.3009

patch 8.2.3009: startup test may hang Commit: https://github.com/vim/vim/commit/b90ac5e96e40706ffb039db64b92fcd16fa78c04 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jun 16 10:59:36 2021 +0200 patch 8.2.3009: startup test may hang Problem: Startup test may hang. Solution: Do not run the test in the GUI.
author Bram Moolenaar <Bram@vim.org>
date Wed, 16 Jun 2021 11:00:03 +0200
parents 6dc1be6040d1
children 4c366bbf6073
comparison
equal deleted inserted replaced
24943:18fa9cff7005 24944:d8216679a971
1300 endif 1300 endif
1301 call delete('Xvimrc') 1301 call delete('Xvimrc')
1302 endfunc 1302 endfunc
1303 1303
1304 func Test_echo_true_in_cmd() 1304 func Test_echo_true_in_cmd()
1305 CheckNotGui
1306
1305 let lines =<< trim END 1307 let lines =<< trim END
1306 echo v:true 1308 echo v:true
1307 call writefile(['done'], 'Xresult') 1309 call writefile(['done'], 'Xresult')
1308 quit 1310 quit
1309 END 1311 END
1311 if RunVim([], [], '--cmd "source Xscript"') 1313 if RunVim([], [], '--cmd "source Xscript"')
1312 call assert_equal(['done'], readfile('Xresult')) 1314 call assert_equal(['done'], readfile('Xresult'))
1313 endif 1315 endif
1314 call delete('Xscript') 1316 call delete('Xscript')
1315 call delete('Xresult') 1317 call delete('Xresult')
1316
1317 endfunc 1318 endfunc
1318 1319
1319 " vim: shiftwidth=2 sts=2 expandtab 1320 " vim: shiftwidth=2 sts=2 expandtab