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>
diff --git a/src/testdir/test_crypt.vim b/src/testdir/test_crypt.vim
index 68e7ca1..a5e3b1a 100644
--- a/src/testdir/test_crypt.vim
+++ b/src/testdir/test_crypt.vim
@@ -332,7 +332,11 @@
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'))