0
0
mirror of https://github.com/vim/vim.git synced 2025-09-28 04:24:06 -04:00

patch 9.0.1755: CI still fails with sodium mlock error

Problem: CI still fails with sodium mlock error
Solution: catch mlock failure

Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Christian Brabandt
2023-08-19 22:15:44 +02:00
parent f244b2fbf2
commit 25dec33c9b
2 changed files with 7 additions and 1 deletions

View File

@@ -332,7 +332,11 @@ func Test_uncrypt_xchacha20_3_persistent_undo()
endtry
call assert_equal(0, &undofile)
bw!
try
call feedkeys(":sp Xcrypt_sodium_undo.txt\<CR>sodium\<CR>", 'xt')
catch /^Vim\%((\a\+)\)\=:E1230:/ " sodium_mlock() not possible, may happen at Github CI
throw 'Skipped: sodium_mlock() not possible'
endtry
" should fail
norm! u
call assert_match('Already at oldest change', execute(':1mess'))

View File

@@ -695,6 +695,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1755,
/**/
1754,
/**/