Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/net/net tests: build and install t_ip_reass.c



details:   https://anonhg.NetBSD.org/src/rev/b7fe41897b8d
branches:  trunk
changeset: 372455:b7fe41897b8d
user:      ozaki-r <ozaki-r%NetBSD.org@localhost>
date:      Wed Nov 30 06:07:51 2022 +0000

description:
tests: build and install t_ip_reass.c

diffstat:

 distrib/sets/lists/debug/mi |   3 ++-
 distrib/sets/lists/tests/mi |   3 ++-
 tests/net/net/Makefile      |  10 ++++++++--
 3 files changed, 12 insertions(+), 4 deletions(-)

diffs (72 lines):

diff -r 6dff6df2db6e -r b7fe41897b8d distrib/sets/lists/debug/mi
--- a/distrib/sets/lists/debug/mi       Wed Nov 30 06:06:36 2022 +0000
+++ b/distrib/sets/lists/debug/mi       Wed Nov 30 06:07:51 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.393 2022/11/22 17:35:45 jakllsch Exp $
+# $NetBSD: mi,v 1.394 2022/11/30 06:07:51 ozaki-r Exp $
 ./etc/mtree/set.debug                           comp-sys-root
 ./usr/lib                                      comp-sys-usr            compatdir
 ./usr/lib/i18n/libBIG5_g.a                     comp-c-debuglib         debuglib,compatfile
@@ -2429,6 +2429,7 @@
 ./usr/libdata/debug/usr/tests/net/mcast/mcast.debug            tests-net-debug         debug,atf,rump
 ./usr/libdata/debug/usr/tests/net/mcast/t_mcast.debug          tests-obsolete          debug,atf,rump,obsolete
 ./usr/libdata/debug/usr/tests/net/net/t_bind.debug             tests-net-debug         debug,atf,compattestfile
+./usr/libdata/debug/usr/tests/net/net/t_ip_reass.debug         tests-net-debug         debug,atf,rump
 ./usr/libdata/debug/usr/tests/net/net/t_mapped.debug           tests-net-debug         debug,atf,compattestfile
 ./usr/libdata/debug/usr/tests/net/net/t_pktinfo.debug          tests-net-debug         debug,atf,compattestfile
 ./usr/libdata/debug/usr/tests/net/net/t_pktinfo_send.debug     tests-net-debug         debug,atf,rump
diff -r 6dff6df2db6e -r b7fe41897b8d distrib/sets/lists/tests/mi
--- a/distrib/sets/lists/tests/mi       Wed Nov 30 06:06:36 2022 +0000
+++ b/distrib/sets/lists/tests/mi       Wed Nov 30 06:07:51 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.1236 2022/11/25 08:43:15 knakahara Exp $
+# $NetBSD: mi,v 1.1237 2022/11/30 06:07:51 ozaki-r Exp $
 #
 # Note: don't delete entries from here - mark them as "obsolete" instead.
 #
@@ -4276,6 +4276,7 @@
 ./usr/tests/net/net/t_ipaddress                                tests-net-tests         atf,rump
 ./usr/tests/net/net/t_ipv6_lifetime                    tests-net-tests         atf,rump
 ./usr/tests/net/net/t_ipv6address                      tests-net-tests         atf,rump
+./usr/tests/net/net/t_ip_reass                         tests-net-tests         atf,rump
 ./usr/tests/net/net/t_mapped                           tests-net-tests         atf
 ./usr/tests/net/net/t_mtudisc                          tests-net-tests         atf,rump
 ./usr/tests/net/net/t_mtudisc6                         tests-net-tests         atf,rump
diff -r 6dff6df2db6e -r b7fe41897b8d tests/net/net/Makefile
--- a/tests/net/net/Makefile    Wed Nov 30 06:06:36 2022 +0000
+++ b/tests/net/net/Makefile    Wed Nov 30 06:07:51 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2022/11/17 08:45:36 ozaki-r Exp $
+# $NetBSD: Makefile,v 1.27 2022/11/30 06:07:51 ozaki-r Exp $
 #
 
 .include <bsd.own.mk>
@@ -11,7 +11,7 @@
 TESTS_C+=      t_tcp
 TESTS_C+=      t_udp
 TESTS_C+=      t_pktinfo
-TESTS_C+=      t_socket_afinet
+TESTS_C+=      t_ip_reass
 .if (${MKRUMP} != "no") && !defined(BSD_MK_COMPAT_FILE)
 TESTS_C+=      t_pktinfo_send
 TESTS_C+=      t_raw
@@ -23,6 +23,10 @@
 .endfor
 .endif
 
+.PATH:                         ${.CURDIR}/../../../lib/libc/gen
+CPPFLAGS.sysctlbyname.c+=      -DRUMP_ACTION
+OBJS.t_ip_reass+=              sysctlbyname.o
+
 LDADD.t_pktinfo_send+= -lrumpnet_local -lrumpnet_netinet -lrumpnet_net
 LDADD.t_pktinfo_send+= -lrumpnet_shmif -lrumpnet
 LDADD.t_pktinfo_send+= ${LIBRUMPBASE}
@@ -30,6 +34,8 @@
 LDADD.t_raw+=  -lrumpnet ${LIBRUMPBASE}
 LDADD.t_socket_afinet+=        -lrumpdev_bpf -lrumpdev -lrumpnet_netinet -lrumpnet_net
 LDADD.t_socket_afinet+=        -lrumpnet_local -lrumpnet ${LIBRUMPBASE}
+LDADD.t_ip_reass+=     -lrumpdev_bpf -lrumpdev -lrumpnet_netinet -lrumpnet_net
+LDADD.t_ip_reass+=     -lrumpnet_local -lrumpnet ${LIBRUMPBASE}
 
 LDADD.t_mapped+=       -lutil
 



Home | Main Index | Thread Index | Old Index