diff options
author | ichizok <gclient.gaap@gmail.com> | 2022-01-13 18:09:11 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-01-13 18:09:11 +0000 |
commit | 4050305bfd24e7d0e241f617519bd0fa86263b9a (patch) | |
tree | 62b298b0f11192c683984947c0d5ffcb70104430 /src/testdir/test_cscope.vim | |
parent | a00e622a294b10671ee78216dcd21169a2b884cf (diff) | |
download | vim-git-4050305bfd24e7d0e241f617519bd0fa86263b9a.tar.gz |
patch 8.2.4081: CodeQL reports problem in if_cscope causing it to failv8.2.4081
Problem: CodeQL reports problem in if_cscope causing it to fail.
Solution: Use execvp() instead of execl(). Merge the header file into the
source file. (Ozaki Kiichi, closes #9519)
Diffstat (limited to 'src/testdir/test_cscope.vim')
-rw-r--r-- | src/testdir/test_cscope.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/test_cscope.vim b/src/testdir/test_cscope.vim index c01ca3243..ba194196e 100644 --- a/src/testdir/test_cscope.vim +++ b/src/testdir/test_cscope.vim @@ -246,7 +246,7 @@ func Test_cscopeWithCscopeConnections() " Test: 'csprg' option call assert_equal('cscope', &csprg) set csprg=doesnotexist - call assert_fails('cscope add Xcscope2.out', 'E609:') + call assert_fails('cscope add Xcscope2.out', 'E262:') set csprg=cscope " Test: multiple cscope connections |