summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2018-05-28 20:59:29 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2018-05-28 20:59:29 +0000
commit908efdd577f54560677e232a51c0480c477417e8 (patch)
tree81a4712fa09f0c2da7465da96b33265e2f850a70 /regress
parente47d384a0225e10371134e5c6b219992779a9132 (diff)
Make sure that the inetd echo and nonxt protocol reflectors are
running on the remote machines.
Diffstat (limited to 'regress')
-rw-r--r--regress/sys/netinet/ipsec/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/regress/sys/netinet/ipsec/Makefile b/regress/sys/netinet/ipsec/Makefile
index 11163e1555d..acb5f93b3c6 100644
--- a/regress/sys/netinet/ipsec/Makefile
+++ b/regress/sys/netinet/ipsec/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.22 2018/05/21 01:19:21 bluhm Exp $
+# $OpenBSD: Makefile,v 1.23 2018/05/28 20:59:28 bluhm Exp $
# This test needs a manual setup of four machines, the make
# target create-setup can be used to distribute the configuration.
@@ -211,6 +211,13 @@ stamp-pfctl: addr.py pf.conf
ssh ${IPS_SSH} ${SUDO} pfctl -a regress -f -
@date >$@
+stamp-reflect: nonxt-reflect
+ @echo '\n======== $@ ========'
+ ssh ${IPS_SSH} make -C ${.CURDIR} nonxt-reflect
+ ssh ${IPS_SSH} ${SUDO} rcctl start inetd nonxt_reflect
+ ssh ${ECO_SSH} ${SUDO} rcctl start inetd nonxt_reflect
+ @date >$@
+
DUMPCMD= tcpdump -l -e -vvv -s 2048 -ni
# Run tcpdump on enc device of IPS machine.
@@ -484,7 +491,7 @@ REGRESS_TARGETS = ${TARGETS:S/^/run-regress-send-/} \
${TARGETS:N*_IPIP_*:N*_BUNDLE_*:N*_IN_*:N*_OUT_*:N*-SRC_*:Nudp-*_IPCOMP_*:Ntcp-*_IPCOMP_*:N*-small-*:Nnonxt-*_IPCOMP_*:S/-big-/-/:S/^/run-regress-bpf-/} \
${TARGETS:N*_IPIP_*:N*_IPCOMP_*:N*_IN_*:N*_OUT_*:N*-SRC_*:N*-small-*:S/-big-/-/:S/^/run-regress-pflog-/}
${REGRESS_TARGETS:Mrun-regress-send-*}: \
- stamp-ipsec stamp-bpf stamp-pflog stamp-drop
+ stamp-ipsec stamp-reflect stamp-bpf stamp-pflog stamp-drop
CLEANFILES += addr.py *.pyc *.log stamp-* */hostname.* *.{in,out} *.tcpdump