FreeBSD Bugzilla – Attachment 203212 Details for
Bug 236842
check if_tap.ko for sys/netmap/ctrl-api-test test
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch using PLAIN_REQUIRE_KERNEL_MODULE
tests_sys_netmap.diff (text/plain), 960 bytes, created by
Olivier Cochard
on 2019-03-28 11:10:24 UTC
(
hide
)
Description:
patch using PLAIN_REQUIRE_KERNEL_MODULE
Filename:
MIME Type:
Creator:
Olivier Cochard
Created:
2019-03-28 11:10:24 UTC
Size:
960 bytes
patch
obsolete
>Index: tests/sys/netmap/Makefile >=================================================================== >--- tests/sys/netmap/Makefile (revision 345541) >+++ tests/sys/netmap/Makefile (working copy) >@@ -7,6 +7,7 @@ > TEST_METADATA+= is_exclusive=true > > LDFLAGS+= -lpthread >+CFLAGS+= -I${SRCTOP}/tests > PLAIN_TESTS_C+= ctrl-api-test > > WARNS?= 6 >Index: tests/sys/netmap/ctrl-api-test.c >=================================================================== >--- tests/sys/netmap/ctrl-api-test.c (revision 345541) >+++ tests/sys/netmap/ctrl-api-test.c (working copy) >@@ -48,9 +48,15 @@ > #include <unistd.h> > #include <signal.h> > >+#ifdef __FreeBSD__ >+#include "freebsd_test_suite/macros.h" >+#endif >+ >+ > #ifdef __linux__ > #include <sys/eventfd.h> > #else >+ > static int > eventfd(int x __unused, int y __unused) > { >@@ -1831,6 +1837,10 @@ > int opt; > int i; > >+#ifdef __FreeBSD__ >+ PLAIN_REQUIRE_KERNEL_MODULE("if_tap", 0); >+#endif >+ > memset(&ctx_, 0, sizeof(ctx_)); > > {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 236842
:
203202
| 203212