]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.2.0343: tests: test_clientserver may fail on slower systems v9.2.0343
authorJames McCoy <jamessan@jamessan.com>
Tue, 14 Apr 2026 16:25:50 +0000 (16:25 +0000)
committerChristian Brabandt <cb@256bit.org>
Tue, 14 Apr 2026 16:25:50 +0000 (16:25 +0000)
commit9d95410aa4079e78c07d8a99c7e2e072f133d5c2
tree5d04cb4acc6f84c1f6b16617c4de27d7e48770a7
parentc922202ea20a8c379a6c6c6c201af4bf5e861df7
patch 9.2.0343: tests: test_clientserver may fail on slower systems

Problem:  tests: test_clientserver may fail on slower systems
Solution: Wait for argc() before checking argv() (James McCoy).

On slower systems, the argv() check may run before the server has
populated the arg list.

Add a wait for argc() to be 3 to be more tolerant of such systems

closes: #19974

Signed-off-by: James McCoy <jamessan@jamessan.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/testdir/test_clientserver.vim
src/version.c