summaryrefslogtreecommitdiff
path: root/regress/usr.sbin
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2024-10-28 12:06:15 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2024-10-28 12:06:15 +0000
commit1dc4a75e8a0d694520e98197579be8b6229d6c7d (patch)
treea5699b6b15f6e9417b05142c29d335a71faf833f /regress/usr.sbin
parentd57a250d58fbcf4a7b591b84c2bf30550ae82aac (diff)
Add a dummy bgpctl command to check that bgpd is still running.
This would have detected the pt_fill regression I introduced some time ago.
Diffstat (limited to 'regress/usr.sbin')
-rw-r--r--regress/usr.sbin/bgpd/integrationtests/l3vpn.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/regress/usr.sbin/bgpd/integrationtests/l3vpn.sh b/regress/usr.sbin/bgpd/integrationtests/l3vpn.sh
index 1608dab9152..d41752c98bd 100644
--- a/regress/usr.sbin/bgpd/integrationtests/l3vpn.sh
+++ b/regress/usr.sbin/bgpd/integrationtests/l3vpn.sh
@@ -1,5 +1,5 @@
#!/bin/ksh
-# $OpenBSD: l3vpn.sh,v 1.4 2023/02/15 14:19:08 claudio Exp $
+# $OpenBSD: l3vpn.sh,v 1.5 2024/10/28 12:06:14 claudio Exp $
set -e
@@ -116,6 +116,7 @@ echo Remove new network
route -T ${RDOMAIN2} exec bgpctl network del 192.168.45.0/24 rd 4200000002:14
route -T ${RDOMAIN2} exec bgpctl network del 2001:db8:42:45::/64 rd 4200000002:14
sleep 1
+route -T ${RDOMAIN1} exec bgpctl show rib
! route -T ${RDOMAIN3} get 192.168.45/24 > /dev/null
! route -T ${RDOMAIN3} get -inet6 2001:db8:42:45::/64 > /dev/null