diff options
Diffstat (limited to 'regress/sys/netinet6/frag6/Makefile')
-rw-r--r-- | regress/sys/netinet6/frag6/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/regress/sys/netinet6/frag6/Makefile b/regress/sys/netinet6/frag6/Makefile index f382e4a9d41..48dbd06d20e 100644 --- a/regress/sys/netinet6/frag6/Makefile +++ b/regress/sys/netinet6/frag6/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.21 2017/09/07 19:04:23 bluhm Exp $ +# $OpenBSD: Makefile,v 1.22 2017/09/15 14:03:14 bluhm Exp $ # The following ports must be installed: # @@ -133,7 +133,13 @@ REGRESS_TARGETS += run-regress-${sp}-ping6 run-regress-${sp}-fragping6 \ # After running the tests, turn on pf on remote machine. # This is the expected default configuration. -REGRESS_TARGETS += stamp-pf + +cleanup-pf: + rm -f stamp-stack stamp-pf + ssh ${IPS_SSH} ${SUDO} pfctl -a regress -Fa + -ssh ${REMOTE_SSH} ${SUDO} pfctl -e || true + +REGRESS_TARGETS += cleanup-pf CLEANFILES += addr.py *.pyc *.log stamp-* |