selftests/bpf: Fix test_lwt_seg6local.sh hangs
authorIlya Leoshkevich <iii@linux.ibm.com>
Mon, 20 Jul 2020 10:18:10 +0000 (12:18 +0200)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 21 Jul 2020 20:26:26 +0000 (13:26 -0700)
commit6bd557275ad5a1adaff5082f4e24218ba344e0c0
tree47562fc27ccf165232df787b32821d0d6c8ab651
parent495436c1f9220131f0ddc4eac83a55f2f002769a
selftests/bpf: Fix test_lwt_seg6local.sh hangs

OpenBSD netcat (Debian patchlevel 1.195-2) does not seem to react to
SIGINT for whatever reason, causing prefix.pl to hang after
test_lwt_seg6local.sh exits due to netcat inheriting
test_lwt_seg6local.sh's file descriptors.

Fix by using SIGTERM instead.

Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20200720101810.84299-1-iii@linux.ibm.com
tools/testing/selftests/bpf/test_lwt_seg6local.sh