aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-04-01 06:48:14 +0800
committerGitHub <noreply@github.com>2024-04-01 06:48:14 +0800
commit1570cfb6384e972a8f2797a75cd2515e53ec2cf0 (patch)
treed20d7559414f1359aafad3348142180173868408
parentc4221df7b5f4ea76e10d405da93ccc46c9367c77 (diff)
downloadrneovim-1570cfb6384e972a8f2797a75cd2515e53ec2cf0.tar.gz
rneovim-1570cfb6384e972a8f2797a75cd2515e53ec2cf0.tar.bz2
rneovim-1570cfb6384e972a8f2797a75cd2515e53ec2cf0.zip
test(core/job_spec): skip exit test if "sleep" command missing (#28137)
-rw-r--r--test/functional/core/job_spec.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/core/job_spec.lua b/test/functional/core/job_spec.lua
index b7e9af99ac..f0e61fbcc1 100644
--- a/test/functional/core/job_spec.lua
+++ b/test/functional/core/job_spec.lua
@@ -1236,6 +1236,7 @@ describe('pty process teardown', function()
end)
it('does not prevent/delay exit. #4798 #4900', function()
+ skip(fn.executable('sleep') == 0, 'missing "sleep" command')
-- Use a nested nvim (in :term) to test without --headless.
fn.termopen({
helpers.nvim_prog,