mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
selftests: Replace sleep with slowwait
[ Upstream commit 2f186dd5585c3afb415df80e52f71af16c9d3655 ] Replace the sleep in kill_procs with slowwait. Signed-off-by: David Ahern <[email protected]> Reviewed-by: Simon Horman <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
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