View | Details | Raw Unified | Return to bug 236842 | Differences between
and this patch

Collapse All | Expand All

(-)tests/sys/netmap/Makefile (+1 lines)
Lines 7-12 Link Here
7
TEST_METADATA+=	is_exclusive=true
7
TEST_METADATA+=	is_exclusive=true
8
8
9
LDFLAGS+= 	-lpthread
9
LDFLAGS+= 	-lpthread
10
CFLAGS+=	-I${SRCTOP}/tests
10
PLAIN_TESTS_C+=	ctrl-api-test
11
PLAIN_TESTS_C+=	ctrl-api-test
11
12
12
WARNS?=		6
13
WARNS?=		6
(-)tests/sys/netmap/ctrl-api-test.c (+10 lines)
Lines 48-56 Link Here
48
#include <unistd.h>
48
#include <unistd.h>
49
#include <signal.h>
49
#include <signal.h>
50
50
51
#ifdef __FreeBSD__
52
#include "freebsd_test_suite/macros.h"
53
#endif
54
55
51
#ifdef __linux__
56
#ifdef __linux__
52
#include <sys/eventfd.h>
57
#include <sys/eventfd.h>
53
#else
58
#else
59
54
static int
60
static int
55
eventfd(int x __unused, int y __unused)
61
eventfd(int x __unused, int y __unused)
56
{
62
{
Lines 1831-1836 Link Here
1831
	int opt;
1837
	int opt;
1832
	int i;
1838
	int i;
1833
1839
1840
#ifdef __FreeBSD__
1841
	PLAIN_REQUIRE_KERNEL_MODULE("if_tap", 0);
1842
#endif
1843
1834
	memset(&ctx_, 0, sizeof(ctx_));
1844
	memset(&ctx_, 0, sizeof(ctx_));
1835
1845
1836
	{
1846
	{

Return to bug 236842