mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-05 19:31:57 -04:00
selftests: Replace sleep with slowwait
[ Upstream commit 2f186dd5585c3afb415df80e52f71af16c9d3655 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
731088e8cb
commit
9cfaa6b715
1 changed files with 1 additions and 1 deletions
|
|
@ -164,7 +164,7 @@ show_hint()
|
|||
kill_procs()
|
||||
{
|
||||
killall nettest ping ping6 >/dev/null 2>&1
|
||||
sleep 1
|
||||
slowwait 2 sh -c 'test -z "$(pgrep '"'^(nettest|ping|ping6)$'"')"'
|
||||
}
|
||||
|
||||
do_run_cmd()
|
||||
|
|
|
|||
Loading…
Reference in a new issue