Source-Changes-HG archive

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

[src/trunk]: src/tests/net Add rumpdev library for config_cfdriver_attach



details:   https://anonhg.NetBSD.org/src/rev/69b948282926
branches:  trunk
changeset: 347000:69b948282926
user:      ozaki-r <ozaki-r%NetBSD.org@localhost>
date:      Wed Aug 10 07:50:37 2016 +0000

description:
Add rumpdev library for config_cfdriver_attach

diffstat:

 tests/net/if_gif/t_gif.sh     |  4 ++--
 tests/net/mpls/t_ldp_regen.sh |  5 +++--
 tests/net/mpls/t_mpls_fw.sh   |  6 +++---
 tests/net/mpls/t_mpls_fw6.sh  |  6 +++---
 tests/net/mpls/t_mpls_fw64.sh |  6 +++---
 tests/net/mpls/t_rfc4182.sh   |  6 +++---
 6 files changed, 17 insertions(+), 16 deletions(-)

diffs (117 lines):

diff -r fbafaf79a91d -r 69b948282926 tests/net/if_gif/t_gif.sh
--- a/tests/net/if_gif/t_gif.sh Wed Aug 10 05:56:30 2016 +0000
+++ b/tests/net/if_gif/t_gif.sh Wed Aug 10 07:50:37 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: t_gif.sh,v 1.4 2015/12/16 03:24:29 knakahara Exp $
+#      $NetBSD: t_gif.sh,v 1.5 2016/08/10 08:29:20 ozaki-r Exp $
 #
 # Copyright (c) 2015 Internet Initiative Japan Inc.
 # All rights reserved.
@@ -25,7 +25,7 @@
 # POSSIBILITY OF SUCH DAMAGE.
 #
 
-server="rump_server -v -lrumpnet -lrumpnet_net -lrumpnet_netinet \
+server="rump_server -v -lrumpdev -lrumpnet -lrumpnet_net -lrumpnet_netinet \
                    -lrumpnet_netinet6 -lrumpnet_shmif -lrumpnet_gif"
 HIJACKING="env LD_PRELOAD=/usr/lib/librumphijack.so RUMPHIJACK=sysctl=yes"
 
diff -r fbafaf79a91d -r 69b948282926 tests/net/mpls/t_ldp_regen.sh
--- a/tests/net/mpls/t_ldp_regen.sh     Wed Aug 10 05:56:30 2016 +0000
+++ b/tests/net/mpls/t_ldp_regen.sh     Wed Aug 10 07:50:37 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_ldp_regen.sh,v 1.6 2015/05/13 12:01:24 martin Exp $
+# $NetBSD: t_ldp_regen.sh,v 1.7 2016/08/10 07:50:37 ozaki-r Exp $
 #
 # Copyright (c) 2013 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -41,7 +41,8 @@
 RUMP_SERVER3=unix://./r3
 RUMP_SERVER4=unix://./r4
 
-RUMP_LIBS="-lrumpnet -lrumpnet_net -lrumpnet_netmpls -lrumpnet_netinet -lrumpnet_netinet6 -lrumpnet_shmif"
+RUMP_LIBS="-lrumpnet -lrumpnet_net -lrumpnet_netinet -lrumpnet_netinet6 \
+           -lrumpdev -lrumpnet_netmpls -lrumpnet_shmif"
 LDP_FLAGS=""
 
 atf_test_case ldp_regen cleanup
diff -r fbafaf79a91d -r 69b948282926 tests/net/mpls/t_mpls_fw.sh
--- a/tests/net/mpls/t_mpls_fw.sh       Wed Aug 10 05:56:30 2016 +0000
+++ b/tests/net/mpls/t_mpls_fw.sh       Wed Aug 10 07:50:37 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_mpls_fw.sh,v 1.4 2014/03/18 18:20:44 riastradh Exp $
+# $NetBSD: t_mpls_fw.sh,v 1.5 2016/08/10 07:50:37 ozaki-r Exp $
 #
 # Copyright (c) 2013 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -42,8 +42,8 @@
 RUMP_SERVER3=unix://./r3
 RUMP_SERVER4=unix://./r4
 
-RUMP_FLAGS=\
-"-lrumpnet -lrumpnet_net -lrumpnet_netmpls -lrumpnet_netinet -lrumpnet_shmif"
+RUMP_FLAGS="-lrumpnet -lrumpnet_net -lrumpnet_netinet  \
+            -lrumpdev -lrumpnet_netmpls -lrumpnet_shmif"
 
 atf_test_case mplsfw4 cleanup
 mplsfw4_head()
diff -r fbafaf79a91d -r 69b948282926 tests/net/mpls/t_mpls_fw6.sh
--- a/tests/net/mpls/t_mpls_fw6.sh      Wed Aug 10 05:56:30 2016 +0000
+++ b/tests/net/mpls/t_mpls_fw6.sh      Wed Aug 10 07:50:37 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_mpls_fw6.sh,v 1.2 2015/08/07 00:50:12 ozaki-r Exp $
+# $NetBSD: t_mpls_fw6.sh,v 1.3 2016/08/10 07:50:37 ozaki-r Exp $
 #
 # Copyright (c) 2015 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -43,8 +43,8 @@
 RUMP_SERVER3=unix://./r3
 RUMP_SERVER4=unix://./r4
 
-RUMP_FLAGS6=\
-"-lrumpnet -lrumpnet_net -lrumpnet_netmpls -lrumpnet_netinet -lrumpnet_netinet6 -lrumpnet_shmif"
+RUMP_FLAGS6="-lrumpnet -lrumpnet_net -lrumpnet_netinet -lrumpnet_netinet6 \
+             -lrumpdev -lrumpnet_shmif -lrumpnet_netmpls"
 
 atf_test_case mplsfw6 cleanup
 mplsfw6_head()
diff -r fbafaf79a91d -r 69b948282926 tests/net/mpls/t_mpls_fw64.sh
--- a/tests/net/mpls/t_mpls_fw64.sh     Wed Aug 10 05:56:30 2016 +0000
+++ b/tests/net/mpls/t_mpls_fw64.sh     Wed Aug 10 07:50:37 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_mpls_fw64.sh,v 1.2 2015/08/07 00:50:12 ozaki-r Exp $
+# $NetBSD: t_mpls_fw64.sh,v 1.3 2016/08/10 07:50:37 ozaki-r Exp $
 #
 # Copyright (c) 2015 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -47,8 +47,8 @@
 RUMP_SERVER3=unix://./r3
 RUMP_SERVER4=unix://./r4
 
-RUMP_FLAGS6=\
-"-lrumpnet -lrumpnet_net -lrumpnet_netmpls -lrumpnet_netinet -lrumpnet_netinet6 -lrumpnet_shmif"
+RUMP_FLAGS6="-lrumpnet -lrumpnet_net -lrumpnet_netinet -lrumpnet_netinet6 \
+             -lrumpdev -lrumpnet_shmif -lrumpnet_netmpls"
 
 startservers()
 {
diff -r fbafaf79a91d -r 69b948282926 tests/net/mpls/t_rfc4182.sh
--- a/tests/net/mpls/t_rfc4182.sh       Wed Aug 10 05:56:30 2016 +0000
+++ b/tests/net/mpls/t_rfc4182.sh       Wed Aug 10 07:50:37 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_rfc4182.sh,v 1.3 2014/03/18 18:20:44 riastradh Exp $
+# $NetBSD: t_rfc4182.sh,v 1.4 2016/08/10 07:50:37 ozaki-r Exp $
 #
 # Copyright (c) 2013 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -44,8 +44,8 @@
 RUMP_SERVER3=unix://./r3
 RUMP_SERVER4=unix://./r4
 
-RUMP_FLAGS=\
-"-lrumpnet -lrumpnet_net -lrumpnet_netmpls -lrumpnet_netinet -lrumpnet_shmif"
+RUMP_FLAGS="-lrumpnet -lrumpnet_net -lrumpnet_netinet  \
+            -lrumpdev -lrumpnet_netmpls -lrumpnet_shmif"
 
 atf_test_case rfc4182 cleanup
 rfc4182_head()



Home | Main Index | Thread Index | Old Index