From 6a24cec56716dcf8cb5872730da84eba39e3870a Mon Sep 17 00:00:00 2001 From: Andrei Vagin Date: Fri, 13 Dec 2024 09:03:42 -0800 Subject: [PATCH] test: run scm06 in the ns and uns flavors The kernel releases a test socket asynchronously, so the restore can fail if it is executed before the kernel actually destroys the socket. Fixes #2537 Signed-off-by: Andrei Vagin --- test/zdtm/static/scm06.desc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/zdtm/static/scm06.desc b/test/zdtm/static/scm06.desc index 2eac7e654b..38cc3be519 100644 --- a/test/zdtm/static/scm06.desc +++ b/test/zdtm/static/scm06.desc @@ -1 +1,4 @@ -{'flags': 'suid'} +# This test isn't executed in the host flavor (in the same network namespace, +# because the kernel releases a test socket asynchronously, so the restore +# can fail if it is executed before the kernel actually destroys the socket. +{'flags': 'suid', 'flavor': 'ns uns'}