diff options
author | Christian Brabandt <cb@256bit.org> | 2023-08-19 22:15:44 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2023-08-19 22:15:44 +0200 |
commit | 25dec33c9bd286eacd1767ce2f5324117132b33a (patch) | |
tree | 42e6359383b59e3e5d85a1120050a85fcb0c4aa6 /src/testdir/test_crypt.vim | |
parent | f244b2fbf2df7f984074c287b3d854bc62472b23 (diff) |
patch 9.0.1755: CI still fails with sodium mlock errorv9.0.1755
Problem: CI still fails with sodium mlock error
Solution: catch mlock failure
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'src/testdir/test_crypt.vim')
-rw-r--r-- | src/testdir/test_crypt.vim | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/testdir/test_crypt.vim b/src/testdir/test_crypt.vim index 68e7ca1558..a5e3b1ab0e 100644 --- a/src/testdir/test_crypt.vim +++ b/src/testdir/test_crypt.vim @@ -332,7 +332,11 @@ func Test_uncrypt_xchacha20_3_persistent_undo() endtry call assert_equal(0, &undofile) bw! - call feedkeys(":sp Xcrypt_sodium_undo.txt\<CR>sodium\<CR>", 'xt') + 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')) |