diff options
author | Anton Lindqvist <anton@cvs.openbsd.org> | 2023-10-19 18:36:42 +0000 |
---|---|---|
committer | Anton Lindqvist <anton@cvs.openbsd.org> | 2023-10-19 18:36:42 +0000 |
commit | 8171de8ad6a46044aaf48c1b5245c7bd551b3360 (patch) | |
tree | eba91f581d14b028b57a7275f6ad6531fcbabaf1 /regress/sbin | |
parent | 7f665945a317c091877dbdcbeaf1566f2fc81a30 (diff) |
Add missing removal of network interfaces in regress cleanup targets.
Reducing the risk tests conflicting with each other.
ok bluhm@
Diffstat (limited to 'regress/sbin')
-rw-r--r-- | regress/sbin/route/Makefile | 4 | ||||
-rw-r--r-- | regress/sbin/slaacd/Makefile | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/regress/sbin/route/Makefile b/regress/sbin/route/Makefile index 1a9780859ee..1f64ec080bd 100644 --- a/regress/sbin/route/Makefile +++ b/regress/sbin/route/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.32 2019/03/30 06:37:10 yasuoka Exp $ +# $OpenBSD: Makefile,v 1.33 2023/10/19 18:36:40 anton Exp $ ROUTE?= /sbin/route RDOMAIN?= 5 @@ -21,7 +21,7 @@ RDOMAIN?= 5 -${SUDO} ifconfig lo10004 up rdomain ${RDOMAIN} 192.0.2.4/32 .END: -.for itf in lo10001 lo10002 lo10003 lo10004 vlan99 vether99 +.for itf in lo10001 lo10002 lo10003 lo10004 vlan99 vether99 lo${RDOMAIN} -${SUDO} ifconfig ${itf} destroy 2>/dev/null || true .endfor diff --git a/regress/sbin/slaacd/Makefile b/regress/sbin/slaacd/Makefile index fbc12c1843b..3477dcf65ca 100644 --- a/regress/sbin/slaacd/Makefile +++ b/regress/sbin/slaacd/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.10 2020/12/30 21:40:32 kn Exp $ +# $OpenBSD: Makefile,v 1.11 2023/10/19 18:36:40 anton Exp $ # The following ports must be installed: # @@ -54,7 +54,7 @@ setup: cleanup REGRESS_CLEANUP += cleanup cleanup: -.for iface in ${PAIR1} ${PAIR2} +.for iface in ${PAIR1} ${PAIR2} lo${RTABLE} ${SUDO} ifconfig ${iface} destroy 2>/dev/null || true .endfor |