]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.2119: tests: Test_language_cmd fails on OpenBSD master v9.1.2119
authorKevin Goodsell <kevin-opensource@omegacrash.net>
Fri, 30 Jan 2026 10:00:27 +0000 (10:00 +0000)
committerChristian Brabandt <cb@256bit.org>
Fri, 30 Jan 2026 10:00:27 +0000 (10:00 +0000)
commit371583642a5eecc134d285e6df49f5edceeab95c
tree1caffdf3008cef6d0f7a7d882551824cf1366495
parentce1e562fdafa998e577d65a8b0a1b8bc1cbfcf4c
patch 9.1.2119: tests: Test_language_cmd fails on OpenBSD

Problem:  tests: Test_language_cmd fails on OpenBSD because the test
          uses an invalid locale name and expects the command to produce
          an error. OpenBSD accepts (almost) any locale name as valid by
          design, so the :lang command succeeds and the test fails.
Solution: Slightly update the "bad" locale name to make it something
          that OpenBSD considers invalid by adding a dot (but not ending
          with ".UTF-8"). Maintain the original two underscores in the
          name because that ensures Windows will also see it as invalid
          (Kevin Goodsell).

closes: #19280

Signed-off-by: Kevin Goodsell <kevin-opensource@omegacrash.net>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/testdir/test_excmd.vim
src/version.c