diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-04-01 06:48:14 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-01 06:48:14 +0800 |
commit | 1570cfb6384e972a8f2797a75cd2515e53ec2cf0 (patch) | |
tree | d20d7559414f1359aafad3348142180173868408 /test/functional/core/job_spec.lua | |
parent | c4221df7b5f4ea76e10d405da93ccc46c9367c77 (diff) | |
download | rneovim-1570cfb6384e972a8f2797a75cd2515e53ec2cf0.tar.gz rneovim-1570cfb6384e972a8f2797a75cd2515e53ec2cf0.tar.bz2 rneovim-1570cfb6384e972a8f2797a75cd2515e53ec2cf0.zip |
test(core/job_spec): skip exit test if "sleep" command missing (#28137)
Diffstat (limited to 'test/functional/core/job_spec.lua')
-rw-r--r-- | test/functional/core/job_spec.lua | 1 |
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, |