Mercurial > vim
comparison src/testdir/test_signals.vim @ 23467:826a6406ea7b v8.2.2276
patch 8.2.2276: list of distributed files is outdated
Commit: https://github.com/vim/vim/commit/a72514945bc3edd4fc4d745004e37c5d5487c98d
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 2 16:53:13 2021 +0100
patch 8.2.2276: list of distributed files is outdated
Problem: List of distributed files is outdated.
Solution: Update the file list. Minor comment updates.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 02 Jan 2021 17:00:04 +0100 |
parents | 34a74f5f0fb4 |
children | 3c1dcb63f579 |
comparison
equal
deleted
inserted
replaced
23466:15fa3923cc49 | 23467:826a6406ea7b |
---|---|
83 CheckRunVimInTerminal | 83 CheckRunVimInTerminal |
84 if !HasSignal('INT') | 84 if !HasSignal('INT') |
85 throw 'Skipped: INT signal not supported' | 85 throw 'Skipped: INT signal not supported' |
86 endif | 86 endif |
87 | 87 |
88 " Skip the rest of the test when running with valgrind as signal INT is not | 88 " Skip the test when running with valgrind as signal INT is not received |
89 " received somehow by Vim when running with valgrind. | 89 " somehow by Vim when running with valgrind. |
90 let cmd = GetVimCommand() | 90 let cmd = GetVimCommand() |
91 if cmd =~ 'valgrind' | 91 if cmd =~ 'valgrind' |
92 throw 'Skipped: cannot test signal INT with valgrind' | 92 throw 'Skipped: cannot test signal INT with valgrind' |
93 endif | 93 endif |
94 | 94 |
117 func Test_deadly_signal_TERM() | 117 func Test_deadly_signal_TERM() |
118 if !HasSignal('TERM') | 118 if !HasSignal('TERM') |
119 throw 'Skipped: TERM signal not supported' | 119 throw 'Skipped: TERM signal not supported' |
120 endif | 120 endif |
121 CheckRunVimInTerminal | 121 CheckRunVimInTerminal |
122 let cmd = GetVimCommand() | |
123 if cmd =~ 'valgrind' | |
124 throw 'Skipped: cannot test signal TERM with valgrind' | |
125 endif | |
126 | 122 |
127 " If test fails once, it can leave temporary files and trying to rerun | 123 " If test fails once, it can leave temporary files and trying to rerun |
128 " the test would then fail again if they are not deleted first. | 124 " the test would then fail again if they are not deleted first. |
129 call delete('.Xsig_TERM.swp') | 125 call delete('.Xsig_TERM.swp') |
130 call delete('XsetupAucmd') | 126 call delete('XsetupAucmd') |