Add bridgeNfIptables and bridgeNfIp6tables test request
| ... | ... |
@@ -81,6 +81,18 @@ var ( |
| 81 | 81 |
}, |
| 82 | 82 |
"Test requires that seccomp support be enabled in the daemon.", |
| 83 | 83 |
} |
| 84 |
+ bridgeNfIptables = testRequirement{
|
|
| 85 |
+ func() bool {
|
|
| 86 |
+ return !SysInfo.BridgeNfCallIptablesDisabled |
|
| 87 |
+ }, |
|
| 88 |
+ "Test requires that bridge-nf-call-iptables support be enabled in the daemon.", |
|
| 89 |
+ } |
|
| 90 |
+ bridgeNfIP6tables = testRequirement{
|
|
| 91 |
+ func() bool {
|
|
| 92 |
+ return !SysInfo.BridgeNfCallIP6tablesDisabled |
|
| 93 |
+ }, |
|
| 94 |
+ "Test requires that bridge-nf-call-ip6tables support be enabled in the daemon.", |
|
| 95 |
+ } |
|
| 84 | 96 |
) |
| 85 | 97 |
|
| 86 | 98 |
func init() {
|