Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

selftests: Replace sleep with slowwait

Replace the sleep in kill_procs with slowwait.

Signed-off-by: David Ahern <dsahern@kernel.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250910025828.38900-2-dsahern@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

David Ahern and committed by
Jakub Kicinski
2f186dd5 53d59173

+1 -1
+1 -1
tools/testing/selftests/net/fcnal-test.sh
··· 189 189 kill_procs() 190 190 { 191 191 killall nettest ping ping6 >/dev/null 2>&1 192 - sleep 1 192 + slowwait 2 sh -c 'test -z "$(pgrep '"'^(nettest|ping|ping6)$'"')"' 193 193 } 194 194 195 195 set_ping_group()