summaryrefslogtreecommitdiff
path: root/regress/sys/netinet/ipsec
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2020-01-08 21:28:02 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2020-01-08 21:28:02 +0000
commit52c7b035d25ecdf490e0281f0944f18d8fb2c174 (patch)
treea4f620b54272848c3678fbbc095bd4044acd48a8 /regress/sys/netinet/ipsec
parent7d1201a4c5571d2c48ece0cdcebe6f078f3067e4 (diff)
Rework when tests have to be skipped due to insufficient configuration
of the regress machine.
Diffstat (limited to 'regress/sys/netinet/ipsec')
-rw-r--r--regress/sys/netinet/ipsec/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/regress/sys/netinet/ipsec/Makefile b/regress/sys/netinet/ipsec/Makefile
index 0b7a2260368..d9e5a8d4bd8 100644
--- a/regress/sys/netinet/ipsec/Makefile
+++ b/regress/sys/netinet/ipsec/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.24 2018/09/28 18:57:37 bluhm Exp $
+# $OpenBSD: Makefile,v 1.25 2020/01/08 21:28:01 bluhm Exp $
# This test needs a manual setup of four machines, the make
# target create-setup can be used to distribute the configuration.
@@ -908,6 +908,8 @@ check-setup-ips:
ssh ${IPS_SSH} sysctl net.inet.ah.enable | fgrep =1
ssh ${IPS_SSH} sysctl net.inet.ipip.allow | fgrep =1
ssh ${IPS_SSH} sysctl net.inet.ipcomp.enable | fgrep =1
+ ssh ${IPS_SSH} sysctl net.inet.ip.forwarding | fgrep =1
+ ssh ${IPS_SSH} sysctl net.inet6.ip6.forwarding | fgrep =1
ssh ${IPS_SSH} ${SUDO} pfctl -sr | grep '^anchor "regress" all$$'
ssh ${IPS_SSH} ${SUDO} pfctl -si | grep '^Status: Enabled '
@@ -940,6 +942,8 @@ check-setup-rt:
.endfor
.endfor
.endfor
+ ssh ${RT_SSH} sysctl net.inet.ip.forwarding | fgrep =1
+ ssh ${RT_SSH} sysctl net.inet6.ip6.forwarding | fgrep =1
check-setup-eco:
@echo '\n======== $@ ========'
@@ -979,5 +983,7 @@ check-setup-eco:
.endfor
ssh ${ECO_SSH} netstat -na -f ${inet} -p tcp | fgrep ' *.7 '
.endfor
+ ssh ${ECO_SSH} sysctl net.inet.ip.forwarding | fgrep =1
+ ssh ${ECO_SSH} sysctl net.inet6.ip6.forwarding | fgrep =1
.include <bsd.regress.mk>