[Devel] [PATCH RHEL10 COMMIT] ms/selftests: Replace sleep with slowwait
Konstantin Khorenko
khorenko at virtuozzo.com
Tue Dec 23 12:49:35 MSK 2025
The commit is pushed to "branch-rh10-6.12.0-55.13.1.3.x.vz10-ovz" and will appear at git at bitbucket.org:openvz/vzkernel.git
after rh10-6.12.0-55.13.1.3.26.vz10
------>
commit ab321aac35ab39755c30913fc5fc0d7a00c8fe39
Author: David Ahern <dsahern at kernel.org>
Date: Tue Dec 16 21:04:17 2025 +0000
ms/selftests: Replace sleep with slowwait
Replace the sleep in kill_procs with slowwait.
Signed-off-by: David Ahern <dsahern at kernel.org>
Reviewed-by: Simon Horman <horms at kernel.org>
Link: https://patch.msgid.link/20250910025828.38900-2-dsahern@kernel.org
Signed-off-by: Jakub Kicinski <kuba at kernel.org>
https://virtuozzo.atlassian.net/browse/VSTOR-120995
(cherry picked from commit 2f186dd5585c3afb415df80e52f71af16c9d3655)
Signed-off-by: Aleksei Oladko <aleksey.oladko at virtuozzo.com>
Feature: fix ms/selftests
---
tools/testing/selftests/net/fcnal-test.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/net/fcnal-test.sh b/tools/testing/selftests/net/fcnal-test.sh
index a7edf43245c2a..bb2b789541ff4 100755
--- a/tools/testing/selftests/net/fcnal-test.sh
+++ b/tools/testing/selftests/net/fcnal-test.sh
@@ -189,7 +189,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)$'"')"'
}
set_ping_group()
More information about the Devel
mailing list