Skip to content

Commit

Permalink
test: run scm06 in the ns and uns flavors
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
avagin committed Dec 15, 2024
1 parent d46cbf7 commit 32d5a76
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/zdtm/static/scm06.desc
Original file line number Diff line number Diff line change
@@ -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'}

0 comments on commit 32d5a76

Please sign in to comment.