Source-Changes-HG archive

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

[src/trunk]: src/tests/fs/ffs h_ffs_server.c is not a test program. Remove u...



details:   https://anonhg.NetBSD.org/src/rev/fb3be456aee3
branches:  trunk
changeset: 781180:fb3be456aee3
user:      jmmv <jmmv%NetBSD.org@localhost>
date:      Fri Aug 24 20:25:50 2012 +0000

description:
h_ffs_server.c is not a test program.  Remove unnecessary traces of atf.

diffstat:

 tests/fs/ffs/h_ffs_server.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r e3357ec0aa95 -r fb3be456aee3 tests/fs/ffs/h_ffs_server.c
--- a/tests/fs/ffs/h_ffs_server.c       Fri Aug 24 20:24:39 2012 +0000
+++ b/tests/fs/ffs/h_ffs_server.c       Fri Aug 24 20:25:50 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: h_ffs_server.c,v 1.1 2012/01/18 20:51:23 bouyer Exp $  */
+/*     $NetBSD: h_ffs_server.c,v 1.2 2012/08/24 20:25:50 jmmv Exp $    */
 
 /*
  * rump server for advanced quota tests
@@ -19,8 +19,6 @@
 #include <rump/rump.h>
 #include <rump/rump_syscalls.h>
 
-#include "../../h_macros.h"
-
 int background = 0;
 
 static void
@@ -91,7 +89,7 @@
                die("rump init failed", error);
 
        if (rump_sys_mkdir(FSTEST_MNTNAME, 0777) == -1)
-               atf_tc_fail_errno("mount point create");
+               die("mount point create", errno);
        rump_pub_etfs_register("/diskdev", filename, RUMP_ETFS_BLK);
        uargs.fspec = __UNCONST("/diskdev");
        if (rump_sys_mount(MOUNT_FFS, FSTEST_MNTNAME, (log) ? MNT_LOG : 0,



Home | Main Index | Thread Index | Old Index