Commit 1114803c authored by Boris Sukholitko's avatar Boris Sukholitko Committed by Pablo Neira Ayuso

selftests: nft_flowtable.sh: wait for specific nc pids

Doing wait with no parameters may interfere with some of the tests
having their own background processes.

Although no such test is currently present, the cleanup is useful
to rely on the nft_flowtable.sh for local development (e.g. running
background tcpdump command during the tests).
Signed-off-by: default avatarBoris Sukholitko <boris.sukholitko@broadcom.com>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
parent 0749d670
...@@ -296,7 +296,8 @@ test_tcp_forwarding_ip() ...@@ -296,7 +296,8 @@ test_tcp_forwarding_ip()
kill $cpid kill $cpid
fi fi
wait wait $lpid
wait $cpid
if ! check_transfer "$nsin" "$ns2out" "ns1 -> ns2"; then if ! check_transfer "$nsin" "$ns2out" "ns1 -> ns2"; then
lret=1 lret=1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment