summaryrefslogtreecommitdiff
path: root/regress/usr.sbin/snmpd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'regress/usr.sbin/snmpd/Makefile')
-rw-r--r--regress/usr.sbin/snmpd/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/regress/usr.sbin/snmpd/Makefile b/regress/usr.sbin/snmpd/Makefile
index 9f3403736b8..63b0fc01711 100644
--- a/regress/usr.sbin/snmpd/Makefile
+++ b/regress/usr.sbin/snmpd/Makefile
@@ -1,8 +1,9 @@
-# $OpenBSD: Makefile,v 1.11 2023/11/16 13:26:45 martijn Exp $
+# $OpenBSD: Makefile,v 1.12 2023/11/20 10:34:21 martijn Exp $
# Regress tests for snmpd
PROG = snmpd_regress
SRCS = snmpd_regress.c agentx.c backend.c snmp.c
+SRCS+= transport.c
LDADD= -lutil
DPADD= ${LIBUTIL}
@@ -249,7 +250,14 @@ SNMP_TARGETS+= snmp_v3_usm_noauthpriv
REGRESS_TARGETS+= ${SNMP_TARGETS}
snmp: ${SNMP_TARGETS}
-.PHONY: agentx backend
+TRANSPORT_TARGETS+= transport_tcp_get
+TRANSPORT_TARGETS+= transport_tcp_disconnect
+TRANSPORT_TARGETS+= transport_tcp_double_get_disconnect
+
+REGRESS_TARGETS+= ${TRANSPORT_TARGETS}
+transport: ${TRANSPORT_TARGETS}
+
+.PHONY: agentx backend snmp transport
${REGRESS_TARGETS}: snmpd_regress
# Always start snmpd if it's not running