aboutsummaryrefslogtreecommitdiff
path: root/test/functional/testnvim.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2025-02-11 07:19:46 -0800
committerGitHub <noreply@github.com>2025-02-11 07:19:46 -0800
commitac768996b295fe58256444a258911ec0fb9adc3f (patch)
treea53e0c75184a605785dd8c1ee16f3278edd4ad41 /test/functional/testnvim.lua
parent891d2f4029259b2790b9aa3ca71ebca0ff3d7eba (diff)
downloadrneovim-ac768996b295fe58256444a258911ec0fb9adc3f.tar.gz
rneovim-ac768996b295fe58256444a258911ec0fb9adc3f.tar.bz2
rneovim-ac768996b295fe58256444a258911ec0fb9adc3f.zip
refactor(tests): drop os_kill #32401
Also change job tests to use `nvim` instead of random programs like `ping`.
Diffstat (limited to 'test/functional/testnvim.lua')
-rw-r--r--test/functional/testnvim.lua12
1 files changed, 0 insertions, 12 deletions
diff --git a/test/functional/testnvim.lua b/test/functional/testnvim.lua
index 9b7ece3c21..99d69e9287 100644
--- a/test/functional/testnvim.lua
+++ b/test/functional/testnvim.lua
@@ -978,18 +978,6 @@ function M.add_builddir_to_rtp()
M.command(string.format([[set rtp+=%s/runtime]], t.paths.test_build_dir))
end
---- Kill (reap) a process by PID.
---- @param pid string
---- @return boolean?
-function M.os_kill(pid)
- return os.execute(
- (
- is_os('win') and 'taskkill /f /t /pid ' .. pid .. ' > nul'
- or 'kill -9 ' .. pid .. ' > /dev/null'
- )
- )
-end
-
--- Create folder with non existing parents
--- @param path string
--- @return boolean?