diff options
| author | Jakub Kicinski <kuba@kernel.org> | 2025-11-28 03:48:46 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-12-01 23:01:29 +0300 |
| commit | 4b1639cac04cbc0d19321fc26476ea4f89ff4c8a (patch) | |
| tree | ac6468a1e07911045016300540f39a58a48fecf4 /tools/perf/scripts/python | |
| parent | 40d5ce4af2067aab275b8aef690e77455da5314a (diff) | |
| download | linux-4b1639cac04cbc0d19321fc26476ea4f89ff4c8a.tar.xz | |
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/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
