aboutsummaryrefslogtreecommitdiff
path: root/sbin/route/Makefile
diff options
context:
space:
mode:
authorTom Jones <thj@FreeBSD.org>2020-07-22 13:49:54 +0000
committerTom Jones <thj@FreeBSD.org>2020-07-22 13:49:54 +0000
commit3b01bf881c848ba0be72fc74ba5eaa58c66c35e1 (patch)
tree09470d278075304cef4acdf08cd63a1bff4548b9 /sbin/route/Makefile
parent9af25ea3bb5e84846eeb9f39a064bd0a31851cb6 (diff)
downloadsrc-3b01bf881c848ba0be72fc74ba5eaa58c66c35e1.tar.gz
src-3b01bf881c848ba0be72fc74ba5eaa58c66c35e1.zip
Add tests for "add", "change" and "delete" functionality of /sbin/route.
Add tests to cover "add", "change" and "delete" functionality of /sbin/route for ipv4 and ipv6. These tests for the existing route tool are the first step towards creating libroute. Submitted by: Ahsan Barkati Sponsored by: Google, Inc. (GSoC 2020) Reviewed by: kp, thj Approved by: bz (mentor) MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D25220
Notes
Notes: svn path=/head/; revision=363417
Diffstat (limited to 'sbin/route/Makefile')
-rw-r--r--sbin/route/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/sbin/route/Makefile b/sbin/route/Makefile
index a1db0b6528dd..e65030f805bb 100644
--- a/sbin/route/Makefile
+++ b/sbin/route/Makefile
@@ -19,6 +19,9 @@ CFLAGS+= -DINET6
.endif
CFLAGS+= -I.
+HAS_TESTS=
+SUBDIR.${MK_TESTS}+= tests
+
keywords.h: keywords
LC_ALL=C awk '!/^#|^$$/ { \
printf "#define\tK_%s\t%d\n\t{\"%s\", K_%s},\n", \