summaryrefslogtreecommitdiff
path: root/regress/sbin/route
diff options
context:
space:
mode:
authorAnton Lindqvist <anton@cvs.openbsd.org>2023-10-19 18:36:42 +0000
committerAnton Lindqvist <anton@cvs.openbsd.org>2023-10-19 18:36:42 +0000
commit8171de8ad6a46044aaf48c1b5245c7bd551b3360 (patch)
treeeba91f581d14b028b57a7275f6ad6531fcbabaf1 /regress/sbin/route
parent7f665945a317c091877dbdcbeaf1566f2fc81a30 (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/route')
-rw-r--r--regress/sbin/route/Makefile4
1 files changed, 2 insertions, 2 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