summaryrefslogtreecommitdiffhomepage
path: root/test/iptables/iptables_test.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-05-29 13:43:58 -0700
committergVisor bot <gvisor-bot@google.com>2020-05-29 13:43:58 -0700
commit3bcfb092635d76f045abeba4d25194ae8b99b275 (patch)
treebcebc795905941e0e58f99d1290d9b8141b7c834 /test/iptables/iptables_test.go
parentc017ca8138e0f271b99f68a494cb37bfaeba5a54 (diff)
parentc55b84e16aeb4481106661e3877c50edbf281762 (diff)
Merge pull request #2807 from kevinGC:iptables-source
PiperOrigin-RevId: 313842690
Diffstat (limited to 'test/iptables/iptables_test.go')
-rw-r--r--test/iptables/iptables_test.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/iptables/iptables_test.go b/test/iptables/iptables_test.go
index 4fd2cb46a..172ad9e16 100644
--- a/test/iptables/iptables_test.go
+++ b/test/iptables/iptables_test.go
@@ -302,3 +302,11 @@ func TestNATPreRedirectInvert(t *testing.T) {
func TestNATRedirectRequiresProtocol(t *testing.T) {
singleTest(t, NATRedirectRequiresProtocol{})
}
+
+func TestInputSource(t *testing.T) {
+ singleTest(t, FilterInputSource{})
+}
+
+func TestInputInvertSource(t *testing.T) {
+ singleTest(t, FilterInputInvertSource{})
+}