Module Name: src
Committed By: pooka
Date: Fri Jul 30 21:10:44 UTC 2010
Modified Files:
src/tests/fs/nfs/nfsservice: rumpnfsd.c
Log Message:
Revert macroization, as the default mountpath doesn't match the
default export path.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/fs/nfs/nfsservice/rumpnfsd.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tests/fs/nfs/nfsservice/rumpnfsd.c
diff -u src/tests/fs/nfs/nfsservice/rumpnfsd.c:1.2 src/tests/fs/nfs/nfsservice/rumpnfsd.c:1.3
--- src/tests/fs/nfs/nfsservice/rumpnfsd.c:1.2 Fri Jul 30 16:15:06 2010
+++ src/tests/fs/nfs/nfsservice/rumpnfsd.c Fri Jul 30 21:10:44 2010
@@ -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
/*