summaryrefslogtreecommitdiffstats
path: root/contrib/netbsd-tests/rump/rumpkern
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/netbsd-tests/rump/rumpkern')
-rw-r--r--contrib/netbsd-tests/rump/rumpkern/h_server/h_simpleserver.c3
-rw-r--r--contrib/netbsd-tests/rump/rumpkern/t_lwproc.c4
-rwxr-xr-xcontrib/netbsd-tests/rump/rumpkern/t_sp.sh7
3 files changed, 9 insertions, 5 deletions
diff --git a/contrib/netbsd-tests/rump/rumpkern/h_server/h_simpleserver.c b/contrib/netbsd-tests/rump/rumpkern/h_server/h_simpleserver.c
index 4e04c22..0ab3958 100644
--- a/contrib/netbsd-tests/rump/rumpkern/h_server/h_simpleserver.c
+++ b/contrib/netbsd-tests/rump/rumpkern/h_server/h_simpleserver.c
@@ -1,10 +1,11 @@
-/* $NetBSD: h_simpleserver.c,v 1.3 2011/01/14 13:23:15 pooka Exp $ */
+/* $NetBSD: h_simpleserver.c,v 1.4 2016/01/25 12:21:42 pooka Exp $ */
#include <sys/types.h>
#include <rump/rump.h>
#include <err.h>
+#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/contrib/netbsd-tests/rump/rumpkern/t_lwproc.c b/contrib/netbsd-tests/rump/rumpkern/t_lwproc.c
index dcdfdb6..6e78d02 100644
--- a/contrib/netbsd-tests/rump/rumpkern/t_lwproc.c
+++ b/contrib/netbsd-tests/rump/rumpkern/t_lwproc.c
@@ -1,4 +1,4 @@
-/* $NetBSD: t_lwproc.c,v 1.5 2011/01/02 12:58:17 pooka Exp $ */
+/* $NetBSD: t_lwproc.c,v 1.8 2017/01/10 22:36:29 christos Exp $ */
/*
* Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -29,6 +29,7 @@
#include <sys/types.h>
#include <sys/wait.h>
+#include <sys/stat.h>
#include <rump/rump.h>
#include <rump/rump_syscalls.h>
@@ -88,6 +89,7 @@ ATF_TC_BODY(proccreds, tc)
rump_init();
RZ(rump_pub_lwproc_rfork(RUMP_RFCFDG));
l1 = rump_pub_lwproc_curlwp();
+ RZ(rump_pub_lwproc_newlwp(rump_sys_getpid()));
RZ(rump_pub_lwproc_rfork(RUMP_RFCFDG));
l2 = rump_pub_lwproc_curlwp();
diff --git a/contrib/netbsd-tests/rump/rumpkern/t_sp.sh b/contrib/netbsd-tests/rump/rumpkern/t_sp.sh
index 9d11d2a..2c4404a 100755
--- a/contrib/netbsd-tests/rump/rumpkern/t_sp.sh
+++ b/contrib/netbsd-tests/rump/rumpkern/t_sp.sh
@@ -1,4 +1,4 @@
-# $NetBSD: t_sp.sh,v 1.12 2014/08/30 12:14:17 gson Exp $
+# $NetBSD: t_sp.sh,v 1.13 2016/08/10 23:47:14 kre Exp $
#
# Copyright (c) 2010 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -73,7 +73,8 @@ stress()
export RUMP_SERVER=unix://commsock
atf_check -s exit:0 rump_server \
- -lrumpvfs -lrumpnet -lrumpnet_net -lrumpnet_netinet ${RUMP_SERVER}
+ -lrumpvfs -lrumpnet -lrumpnet_net -lrumpnet_netinet -lrumpdev \
+ ${RUMP_SERVER}
atf_check -s exit:0 -e ignore $(atf_get_srcdir)/h_client/h_stresscli $@
}
@@ -81,7 +82,7 @@ fork()
{
export RUMP_SERVER=unix://commsock
- atf_check -s exit:0 rump_server -lrumpvfs ${RUMP_SERVER}
+ atf_check -s exit:0 rump_server -lrumpvfs -lrumpdev ${RUMP_SERVER}
atf_check -s exit:0 $(atf_get_srcdir)/h_client/h_forkcli ${1}
}
OpenPOWER on IntegriCloud