diff options
author | Christian Brabandt <cb@256bit.org> | 2023-08-12 09:41:23 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2023-08-12 09:41:23 +0200 |
commit | 8878653a441764c0e234c5d7af99a2b3a823bb9b (patch) | |
tree | 82766b9f88dd0dad1484e8f5a10f1c93397e2be1 | |
parent | f1cc4d55b9ed3335985512fb9fedf31cc4bb65a0 (diff) |
patch 9.0.1696: sodium_mlock may still fail in CIv9.0.1696
Problem: sodium_mlock may still fail in CI
Solution: Catch E1230 in testscript and skip test
Signed-off-by: Christian Brabandt <cb@256bit.org>
-rw-r--r-- | src/testdir/test_crypt.vim | 6 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/src/testdir/test_crypt.vim b/src/testdir/test_crypt.vim index 944f2165bb..68e7ca1558 100644 --- a/src/testdir/test_crypt.vim +++ b/src/testdir/test_crypt.vim @@ -325,7 +325,11 @@ func Test_uncrypt_xchacha20_3_persistent_undo() set undolevels=100 normal dd 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) bw! call feedkeys(":sp Xcrypt_sodium_undo.txt\<CR>sodium\<CR>", 'xt') diff --git a/src/version.c b/src/version.c index 57830dd9b9..5baeaf3594 100644 --- a/src/version.c +++ b/src/version.c @@ -696,6 +696,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1696, +/**/ 1695, /**/ 1694, |