summaryrefslogtreecommitdiffhomepage
path: root/scripts/iptables_tests.sh
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-03-11 18:17:20 -0700
committergVisor bot <gvisor-bot@google.com>2020-03-11 18:17:20 -0700
commita9c6135ed73c99686a6de1d7160dc874dd0ab5ca (patch)
tree5f9a795855b666e4cbbdee00ba4f6ca2042599a9 /scripts/iptables_tests.sh
parent81675b850e27ea9d6c853a73bd667fc16901a5e8 (diff)
parent4054b021f05cb0902e9877ba82403978fd8d6405 (diff)
Merge pull request #2108 from kevinGC:prepare-ipt-tests
PiperOrigin-RevId: 300449422
Diffstat (limited to 'scripts/iptables_tests.sh')
-rwxr-xr-xscripts/iptables_tests.sh11
1 files changed, 7 insertions, 4 deletions
diff --git a/scripts/iptables_tests.sh b/scripts/iptables_tests.sh
index 3069d8628..b4a5211a5 100755
--- a/scripts/iptables_tests.sh
+++ b/scripts/iptables_tests.sh
@@ -19,9 +19,12 @@ source $(dirname $0)/common.sh
install_runsc_for_test iptables
# Build the docker image for the test.
-run //test/iptables/runner-image --norun
+run //test/iptables/runner:runner-image --norun
-# TODO(gvisor.dev/issue/170): Also test this on runsc once iptables are better
-# supported
-test //test/iptables:iptables_test "--test_arg=--runtime=runc" \
+test //test/iptables:iptables_test \
+ "--test_arg=--runtime=runc" \
+ "--test_arg=--image=bazel/test/iptables/runner:runner-image"
+
+test //test/iptables:iptables_test \
+ "--test_arg=--runtime=runsc" \
"--test_arg=--image=bazel/test/iptables/runner:runner-image"