diff options
Diffstat (limited to 'regress/sys/netinet/pmtu/Makefile')
-rw-r--r-- | regress/sys/netinet/pmtu/Makefile | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/regress/sys/netinet/pmtu/Makefile b/regress/sys/netinet/pmtu/Makefile index 70971f67367..cdeb08fbb34 100644 --- a/regress/sys/netinet/pmtu/Makefile +++ b/regress/sys/netinet/pmtu/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.12 2019/05/10 02:22:34 bluhm Exp $ +# $OpenBSD: Makefile,v 1.13 2020/12/17 00:51:13 bluhm Exp $ # The following ports must be installed: # @@ -82,12 +82,10 @@ PYTHON = PYTHONPATH=${.OBJDIR} python2.7 -u ${.CURDIR}/ # Clear local and remote path mtu routes, set fake net route REGRESS_CLEANUP += reset-route reset-route: - @echo '\n======== $@ ========' ${SUDO} route -n delete -inet -host ${REMOTE_ADDR} || true ssh ${REMOTE_SSH} ${SUDO} route -n delete -inet -host ${FAKE_NET_ADDR} || true REGRESS_CLEANUP += reset-route6 reset-route6: - @echo '\n======== $@ ========' ${SUDO} route -n delete -inet6 -host ${REMOTE_ADDR6} || true ssh ${REMOTE_SSH} ${SUDO} route -n delete -inet6 -host ${FAKE_NET_ADDR6} || true @@ -96,14 +94,12 @@ reset-route6: # to allow bidirectional packet flow. REGRESS_TARGETS += run-ping run-ping: reset-route - @echo '\n======== $@ ========' .for ip in LOCAL_ADDR REMOTE_ADDR @echo Check ping ${ip} ping -n -c 1 ${${ip}} .endfor REGRESS_TARGETS += run-ping6 run-ping6: reset-route6 - @echo '\n======== $@ ========' .for ip in LOCAL_ADDR REMOTE_ADDR @echo Check ping6 ${ip}6 ping6 -n -c 1 ${${ip}6} @@ -111,24 +107,20 @@ run-ping6: reset-route6 REGRESS_TARGETS += run-pmtu run-pmtu: addr.py reset-route - @echo '\n======== $@ ========' @echo Send ICMP fragmentation needed after fake TCP connect ${SUDO} ${PYTHON}tcp_connect.py REGRESS_TARGETS += run-pmtu6 run-pmtu6: addr.py reset-route6 - @echo '\n======== $@ ========' @echo Send ICMP6 packet too big after fake TCP connect ${SUDO} ${PYTHON}tcp_connect6.py REGRESS_TARGETS += run-udp6 run-udp6: addr.py reset-route6 - @echo '\n======== $@ ========' @echo Send ICMP6 packet too big after UDP echo ${SUDO} ${PYTHON}udp_echo6.py REGRESS_TARGETS += run-gateway6 run-gateway6: run-udp6 - @echo '\n======== $@ ========' @echo Remove gateway route of a dynamic PMTU route ssh ${REMOTE_SSH} ${SUDO} route -n delete -inet6 -host ${LOCAL_ADDR6} ssh ${REMOTE_SSH} route -n get -inet6 -host ${FAKE_NET_ADDR6}\ @@ -140,12 +132,10 @@ run-gateway6: run-udp6 REGRESS_TARGETS += run-tcpfrag6 run-tcpfrag6: addr.py reset-route6 - @echo '\n======== $@ ========' @echo Send ICMP6 and try to trigger a short TCP segment ${SUDO} ${PYTHON}tcp_atomicfrag6.py REGRESS_TARGETS += run-udpfrag6 run-udpfrag6: addr.py reset-route6 - @echo '\n======== $@ ========' @echo Send ICMP6 and try to trigger an atomic UDP IPv6 fragment ${SUDO} ${PYTHON}udp_atomicfrag6.py |