Mercurial > vim
view src/testdir/test_job_fails.vim @ 20315:190ffc6453d4 v8.2.0713
patch 8.2.0713: the pam_environment file is not recognized
Commit: https://github.com/vim/vim/commit/611548105394fdb76827cd431230c9fbfed39929
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu May 7 18:51:27 2020 +0200
patch 8.2.0713: the pam_environment file is not recognized
Problem: The pam_environment file is not recognized.
Solution: Add a filetype pattern for pamenv. (closes https://github.com/vim/vim/issues/6051)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 07 May 2020 19:00:04 +0200 |
parents | b3e93a05c3ca |
children | 08940efa6b4e |
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 exits 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 " vim: shiftwidth=2 sts=2 expandtab