diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2024-07-18 06:35:56 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-18 06:35:56 +0800 |
| commit | 8634ec3827a52a0339c98103c278973382e96267 (patch) | |
| tree | 7bfcb7a0cc38e6a2473f8c21ce58d4dd6b828276 /test/old/testdir/test_system.vim | |
| parent | e29f245a10821fcce454f7ede684aa0dd64efc33 (diff) | |
| parent | 457ab65ff3f7a7d3eecb45d4f3b48ab8a0295e52 (diff) | |
| download | rneovim-8634ec3827a52a0339c98103c278973382e96267.tar.gz rneovim-8634ec3827a52a0339c98103c278973382e96267.tar.bz2 rneovim-8634ec3827a52a0339c98103c278973382e96267.zip | |
Merge pull request #29774 from zeertzjq/vim-9.0.1257
vim-patch:9.0.{partial:0719,1257}
Diffstat (limited to 'test/old/testdir/test_system.vim')
| -rw-r--r-- | test/old/testdir/test_system.vim | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/old/testdir/test_system.vim b/test/old/testdir/test_system.vim index 6c8373b335..30fab6d55f 100644 --- a/test/old/testdir/test_system.vim +++ b/test/old/testdir/test_system.vim @@ -53,7 +53,7 @@ func Test_system_exmode() let cmd = ' -es -c "source Xscript" +q; echo "result=$?"' " Need to put this in a script, "catch" isn't found after an unknown " function. - call writefile(['try', 'call doesnotexist()', 'catch', 'endtry'], 'Xscript') + call writefile(['try', 'call doesnotexist()', 'catch', 'endtry'], 'Xscript', 'D') let a = system(GetVimCommand() . cmd) call assert_match('result=0', a) call assert_equal(0, v:shell_error) @@ -69,7 +69,6 @@ func Test_system_exmode() let cmd = ' -es -c "source Xscript" +q' let a = system(GetVimCommand() . cmd) call assert_notequal(0, v:shell_error) - call delete('Xscript') if has('unix') " echo $? only works on Unix let cmd = ' -es -c "call doesnotexist()" +q; echo $?' |