forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/tools/testing/selftests/bpf/test_lwt_seg6local.sh
....@@ -140,7 +140,7 @@
140140 ip netns exec ns6 nc -l -6 -u -d 7330 > $TMP_FILE &
141141 ip netns exec ns1 bash -c "echo 'foobar' | nc -w0 -6 -u -p 2121 -s fb00::1 fb00::6 7330"
142142 sleep 5 # wait enough time to ensure the UDP datagram arrived to the last segment
143
-kill -INT $!
143
+kill -TERM $!
144144
145145 if [[ $(< $TMP_FILE) != "foobar" ]]; then
146146 exit 1