Mercurial > vim
view src/testdir/test_job_fails.vim @ 18137:5a5e9eed6029 v8.1.2063
patch 8.1.2063: some tests fail when +balloon_eval_term is missing
Commit: https://github.com/vim/vim/commit/1e82a784ace6d2c4dce594dd6156bcb0028bba9e
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Sep 21 22:57:06 2019 +0200
patch 8.1.2063: some tests fail when +balloon_eval_term is missing
Problem: Some tests fail when +balloon_eval_term is missing but
_balloon_eval is present. (Dominique Pelle)
Solution: Check the right feature in the test. (closes #4962)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 21 Sep 2019 23:00:04 +0200 |
parents | 415185e2c970 |
children | b3e93a05c3ca |
line wrap: on
line source
" This test is in a separate file, because it usually causes reports for memory " leaks under valgrind. That is because when fork/exec fails memory is not " freed. Since the process exists right away it's not a real leak. source shared.vim func Test_job_start_fails() if has('job') let job = job_start('axdfxsdf') if has('unix') call WaitForAssert({-> assert_equal("dead", job_status(job))}) else call WaitForAssert({-> assert_equal("fail", job_status(job))}) endif endif endfunc