Source-Changes-HG archive

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

[src/trunk]: src h_reboot has been superceded by rump.halt



details:   https://anonhg.NetBSD.org/src/rev/209a495ea6a3
branches:  trunk
changeset: 759533:209a495ea6a3
user:      pooka <pooka%NetBSD.org@localhost>
date:      Sun Dec 12 12:53:35 2010 +0000

description:
h_reboot has been superceded by rump.halt

diffstat:

 distrib/sets/lists/tests/mi             |   6 +++---
 tests/rump/rumpkern/h_client/Makefile   |   3 +--
 tests/rump/rumpkern/h_client/h_reboot.c |  22 ----------------------
 3 files changed, 4 insertions(+), 27 deletions(-)

diffs (69 lines):

diff -r 8c0c8676c9eb -r 209a495ea6a3 distrib/sets/lists/tests/mi
--- a/distrib/sets/lists/tests/mi       Sun Dec 12 12:51:19 2010 +0000
+++ b/distrib/sets/lists/tests/mi       Sun Dec 12 12:53:35 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.170 2010/12/09 05:19:43 riz Exp $
+# $NetBSD: mi,v 1.171 2010/12/12 12:53:35 pooka Exp $
 #
 # Note: don't delete entries from here - mark them as "obsolete" instead.
 #
@@ -412,7 +412,7 @@
 ./usr/libdata/debug/usr/tests/rump/rumpkern/t_tsleep.debug             tests-syscall-debug     debug,atf
 ./usr/libdata/debug/usr/tests/rump/rumpkern/t_vm.debug                 tests-syscall-debug     debug,atf
 ./usr/libdata/debug/usr/tests/rump/rumpkern/h_client                   tests-syscall-debug
-./usr/libdata/debug/usr/tests/rump/rumpkern/h_client/h_reboot.debug                    tests-syscall-debug     debug,atf
+./usr/libdata/debug/usr/tests/rump/rumpkern/h_client/h_reboot.debug                    tests-obsolete          obsolete
 ./usr/libdata/debug/usr/tests/rump/rumpkern/h_client/h_simplecli.debug                 tests-syscall-debug     debug,atf
 ./usr/libdata/debug/usr/tests/rump/rumpkern/h_client/h_stresscli.debug                 tests-syscall-debug     debug,atf
 ./usr/libdata/debug/usr/tests/rump/rumpkern/h_server                   tests-syscall-debug
@@ -1650,7 +1650,7 @@
 ./usr/tests/rump/rumpkern/t_tsleep             tests-rump-tests        atf
 ./usr/tests/rump/rumpkern/t_vm                 tests-rump-tests        atf
 ./usr/tests/rump/rumpkern/h_client                     tests-rump-tests
-./usr/tests/rump/rumpkern/h_client/h_reboot            tests-rump-tests        atf
+./usr/tests/rump/rumpkern/h_client/h_reboot            tests-obsolete          obsolete
 ./usr/tests/rump/rumpkern/h_client/h_simplecli         tests-rump-tests        atf
 ./usr/tests/rump/rumpkern/h_client/h_stresscli         tests-rump-tests        atf
 ./usr/tests/rump/rumpkern/h_server                     tests-rump-tests
diff -r 8c0c8676c9eb -r 209a495ea6a3 tests/rump/rumpkern/h_client/Makefile
--- a/tests/rump/rumpkern/h_client/Makefile     Sun Dec 12 12:51:19 2010 +0000
+++ b/tests/rump/rumpkern/h_client/Makefile     Sun Dec 12 12:53:35 2010 +0000
@@ -1,11 +1,10 @@
-#      $NetBSD: Makefile,v 1.1 2010/11/30 22:09:15 pooka Exp $
+#      $NetBSD: Makefile,v 1.2 2010/12/12 12:53:35 pooka Exp $
 #
 
 .include <bsd.own.mk>
 
 TESTSDIR=      ${TESTSBASE}/rump/rumpkern/h_client
 
-TESTS_C+=      h_reboot
 TESTS_C+=      h_simplecli
 TESTS_C+=      h_stresscli
 
diff -r 8c0c8676c9eb -r 209a495ea6a3 tests/rump/rumpkern/h_client/h_reboot.c
--- a/tests/rump/rumpkern/h_client/h_reboot.c   Sun Dec 12 12:51:19 2010 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-/*     $NetBSD: h_reboot.c,v 1.1 2010/11/30 22:09:15 pooka Exp $       */
-
-#include <sys/types.h>
-
-#include <err.h>
-#include <stdlib.h>
-#include <stdio.h>
-#include <unistd.h>
-
-#include <rump/rump_syscalls.h>
-#include <rump/rumpclient.h>
-
-int
-main(void)
-{
-
-       if (rumpclient_init() == -1)
-               err(1, "rumpclient init");
-
-       /* returns ENOENT, since server dies */
-       rump_sys_reboot(0, NULL);
-}



Home | Main Index | Thread Index | Old Index