diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2018-04-16 08:44:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-16 08:44:28 +0200 |
commit | ed6a113804a21022072e0b27da22f36bbcc5443b (patch) | |
tree | c769aebffd5e246d3faaafdfc1796b8bb3d649b7 /test/functional | |
parent | 7598e6cf1741e2352bdb409a5a2fbc130f9117b9 (diff) | |
parent | b2c066409d19deb6228b7448e5c0367117031753 (diff) | |
download | rneovim-ed6a113804a21022072e0b27da22f36bbcc5443b.tar.gz rneovim-ed6a113804a21022072e0b27da22f36bbcc5443b.tar.bz2 rneovim-ed6a113804a21022072e0b27da22f36bbcc5443b.zip |
Merge #8273 'job-control: avoid kill-timer race'
Diffstat (limited to 'test/functional')
-rw-r--r-- | test/functional/autocmd/termclose_spec.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/autocmd/termclose_spec.lua b/test/functional/autocmd/termclose_spec.lua index 0804579a4f..db4e5379d0 100644 --- a/test/functional/autocmd/termclose_spec.lua +++ b/test/functional/autocmd/termclose_spec.lua @@ -32,7 +32,7 @@ describe('TermClose event', function() end) it('kills job trapping SIGTERM', function() - if helpers.pending_win32(pending) then return end + if iswin() then return end nvim('set_option', 'shell', 'sh') nvim('set_option', 'shellcmdflag', '-c') command([[ let g:test_job = jobstart('trap "" TERM && echo 1 && sleep 60', { ]] @@ -51,8 +51,8 @@ describe('TermClose event', function() ok(duration <= 4000) -- Epsilon for slow CI end) - it('kills pty job trapping SIGHUP and SIGTERM', function() - if helpers.pending_win32(pending) then return end + it('kills PTY job trapping SIGHUP and SIGTERM', function() + if iswin() then return end nvim('set_option', 'shell', 'sh') nvim('set_option', 'shellcmdflag', '-c') command([[ let g:test_job = jobstart('trap "" HUP TERM && echo 1 && sleep 60', { ]] |