On 7/23/23 10:25, Ido Schimmel wrote:
On Sat, Jul 22, 2023 at 02:36:00AM +0200, Mirsad Todorovac wrote:
Add trap and cleanup for SIGTERM sent by timeout and SIGINT from keyboard, for the test times out and leaves incoherent network stack.
Fixes: 511e8db54036c ("selftests: forwarding: Add test for custom multipath hash") Cc: Ido Schimmel idosch@nvidia.com Cc: netdev@vger.kernel.org
The patches are missing your Signed-off-by and a cover letter. Anyway, please don't send a new version just yet. I'm not sure this is the correct approach and I'm looking into it.
Thanks
Sure thing. What a blunder, just when I thought I had the perfect patches.
Still, I think it is the way da go for all the test programs, to catch the SIGINT and SIGTERM ...
This way, I need to reboot the system before running the tests on a clean slate ...
Kind regards, Mirsad