Commit 89d95c6
landlock08: Skip IPv6 variant if not supported
Check for IPv6 support before forking the server process to avoid
checkpoint timeout issues. If IPv6 is not available (EAFNOSUPPORT),
report TCONF and skip the variant gracefully.
This allows the landlock08 test to be executed on systems without
IPv6 support.
Reviewed-by: Andrea Cervesato <andrea.cervesato@suse.com>
Signed-off-by: Brian Grech <bgrech@redhat.com>1 parent 443a59c commit 89d95c6
1 file changed
+16
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
105 | 119 | | |
106 | 120 | | |
107 | 121 | | |
108 | 122 | | |
109 | 123 | | |
110 | 124 | | |
| 125 | + | |
| 126 | + | |
111 | 127 | | |
112 | 128 | | |
113 | 129 | | |
| |||
0 commit comments