mirror of
https://github.com/vim/vim.git
synced 2025-10-06 05:44:14 -04:00
patch 9.0.1696: sodium_mlock may still fail in CI
Problem: sodium_mlock may still fail in CI Solution: Catch E1230 in testscript and skip test Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
@@ -325,7 +325,11 @@ func Test_uncrypt_xchacha20_3_persistent_undo()
|
|||||||
set undolevels=100
|
set undolevels=100
|
||||||
normal dd
|
normal dd
|
||||||
set undolevels=100
|
set undolevels=100
|
||||||
w!
|
try
|
||||||
|
w!
|
||||||
|
catch /^Vim\%((\a\+)\)\=:E1230:/ " sodium_mlock() not possible, may happen at Github CI
|
||||||
|
throw 'Skipped: sodium_mlock() not possible'
|
||||||
|
endtry
|
||||||
call assert_equal(0, &undofile)
|
call assert_equal(0, &undofile)
|
||||||
bw!
|
bw!
|
||||||
call feedkeys(":sp Xcrypt_sodium_undo.txt\<CR>sodium\<CR>", 'xt')
|
call feedkeys(":sp Xcrypt_sodium_undo.txt\<CR>sodium\<CR>", 'xt')
|
||||||
|
@@ -695,6 +695,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1696,
|
||||||
/**/
|
/**/
|
||||||
1695,
|
1695,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user