]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.0.1680: sodium test fails in Github CI v9.0.1680
authorChristian Brabandt <cb@256bit.org>
Wed, 9 Aug 2023 14:32:28 +0000 (16:32 +0200)
committerChristian Brabandt <cb@256bit.org>
Wed, 9 Aug 2023 16:16:16 +0000 (18:16 +0200)
commit335c58494089ff4ef698f059ded6215f69c02bcf
treeb7694ced95e74631427604c68d937e1d09e264cb
parentc2bd205254c89ecf46e08965f53d7991315d9c98
patch 9.0.1680: sodium test fails in Github CI

Problem:    sodium test fails in Github CI
Solution:   Catch sodium_mlock() errors and do not error out

sodium_mlock() seems to fail consistently on the Github CI. Perhaps
[sodium_mlock()](https://libsodium.gitbook.io/doc/memory_management#text-locking-memory)
is called too often or with too much memory by the runners so
that this starts failing.

Let's just try to catch this and skip the test, when this starts
happening.

closes: #12751
src/testdir/test_crypt.vim
src/version.c