path: nsntrace_4.5.g4d02e74-1/tests/check_namespaced.sh # stop the non-namespaced udp_send on exit pidof_udp_send=$(pidof udp_send) trap 'kill "$pidof_udp_send"' EXIT path: nsntrace_4.5.g4d02e74-1/tests/check_namespaced.sh # stop the non-namespaced udp_send on exit pidof_udp_send=$(pidof udp_send) trap 'kill "$pidof_udp_send"' EXIT # make sure we only capture the packets from the namespaced version path: nsntrace_4.5.g4d02e74-1/tests/check_cleanup.sh sudo ../src/nsntrace ./test_program_dummy.sh & sleep "$timeout" pid=$(pidof nsntrace) sudo kill "-$sig" "$pid"