diff options
| author | Jakub Kicinski <kuba@kernel.org> | 2025-11-27 16:48:46 -0800 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-12-01 12:01:29 -0800 |
| commit | 4b1639cac04cbc0d19321fc26476ea4f89ff4c8a (patch) | |
| tree | ac6468a1e07911045016300540f39a58a48fecf4 /tools/lib/python/kdoc/parse_data_structs.py | |
| parent | 40d5ce4af2067aab275b8aef690e77455da5314a (diff) | |
selftests: net: py: handle interrupt during cleanup
Following up on the old discussion [1]. Let the BaseExceptions out of
defer()'ed cleanup. And handle it in the main loop. This allows us to
exit the tests if user hit Ctrl-C during defer().
Link: https://lore.kernel.org/20251119063228.3adfd743@kernel.org # [1]
Reviewed-by: Simon Horman <horms@kernel.org>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Link: https://patch.msgid.link/20251128004846.2602687-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/parse_data_structs.py')
0 files changed, 0 insertions, 0 deletions
