Source-Changes-HG archive

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

[src/trunk]: src/tests/fs/nfs/nfsservice Revert macroization, as the default ...



details:   https://anonhg.NetBSD.org/src/rev/d514600cb447
branches:  trunk
changeset: 756737:d514600cb447
user:      pooka <pooka%NetBSD.org@localhost>
date:      Fri Jul 30 21:10:44 2010 +0000

description:
Revert macroization, as the default mountpath doesn't match the
default export path.

diffstat:

 tests/fs/nfs/nfsservice/rumpnfsd.c |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r 24bfc36e20ea -r d514600cb447 tests/fs/nfs/nfsservice/rumpnfsd.c
--- a/tests/fs/nfs/nfsservice/rumpnfsd.c        Fri Jul 30 16:40:43 2010 +0000
+++ b/tests/fs/nfs/nfsservice/rumpnfsd.c        Fri Jul 30 21:10:44 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rumpnfsd.c,v 1.2 2010/07/30 16:15:06 pooka Exp $       */
+/*     $NetBSD: rumpnfsd.c,v 1.3 2010/07/30 21:10:44 pooka Exp $       */
 
 /*-
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -93,7 +93,11 @@
        rump_sys_mkdir("/var/db", 0777);
 
        fprintf(stderr, "imagename %s\n", imagename);
-       FSTEST_CONSTRUCTOR(NULL, ffs, fsarg);
+       if (ffs_fstest_newfs(NULL, &fsarg,
+           FSTEST_IMGNAME, FSTEST_IMGSIZE, NULL) != 0)
+               atf_tc_fail("newfs failed");
+       if (ffs_fstest_mount(NULL, fsarg, exportpath, 0) != 0)
+               atf_tc_fail("mount failed");
 
 #if 0
        /*



Home | Main Index | Thread Index | Old Index