Module Name: src Committed By: pooka Date: Thu Sep 2 15:13:56 UTC 2010
Modified Files: src/tests/fs/nfs/nfsservice: rumpnfsd.c Log Message: Actually use the imagename parameter. Also, fail with err instead of atf_tc_fail since we are not directly under the control of atf. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 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.4 src/tests/fs/nfs/nfsservice/rumpnfsd.c:1.5 --- src/tests/fs/nfs/nfsservice/rumpnfsd.c:1.4 Thu Aug 5 16:47:59 2010 +++ src/tests/fs/nfs/nfsservice/rumpnfsd.c Thu Sep 2 15:13:55 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: rumpnfsd.c,v 1.4 2010/08/05 16:47:59 pooka Exp $ */ +/* $NetBSD: rumpnfsd.c,v 1.5 2010/09/02 15:13:55 pooka Exp $ */ /*- * Copyright (c) 2010 The NetBSD Foundation, Inc. @@ -93,10 +93,10 @@ rump_sys_mkdir("/var/db", 0777); if (ffs_fstest_newfs(NULL, &fsarg, - FSTEST_IMGNAME, FSTEST_IMGSIZE, NULL) != 0) - atf_tc_fail("newfs failed"); + imagename, FSTEST_IMGSIZE, NULL) != 0) + err(1, "newfs failed"); if (ffs_fstest_mount(NULL, fsarg, exportpath, 0) != 0) - atf_tc_fail("mount failed"); + err(1, "mount failed"); #if 0 /*