summaryrefslogtreecommitdiffhomepage
path: root/scripts/iptables_tests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/iptables_tests.sh')
-rwxr-xr-xscripts/iptables_tests.sh12
1 files changed, 4 insertions, 8 deletions
diff --git a/scripts/iptables_tests.sh b/scripts/iptables_tests.sh
index 3069d8628..2a8c24907 100755
--- a/scripts/iptables_tests.sh
+++ b/scripts/iptables_tests.sh
@@ -16,12 +16,8 @@
source $(dirname $0)/common.sh
-install_runsc_for_test iptables
+make load-iptables
-# Build the docker image for the test.
-run //test/iptables/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_arg=--image=bazel/test/iptables/runner:runner-image"
+install_runsc_for_test iptables --net-raw
+test //test/iptables:iptables_test "--test_arg=--runtime=runc"
+test //test/iptables:iptables_test "--test_arg=--runtime=${RUNTIME}"