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 Actually use the imagename parameter...
details: https://anonhg.NetBSD.org/src/rev/70c24305bed9
branches: trunk
changeset: 757532:70c24305bed9
user: pooka <pooka%NetBSD.org@localhost>
date: Thu Sep 02 15:13:55 2010 +0000
description:
Actually use the imagename parameter. Also, fail with err instead
of atf_tc_fail since we are not directly under the control of atf.
diffstat:
tests/fs/nfs/nfsservice/rumpnfsd.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (23 lines):
diff -r 4d246b8105de -r 70c24305bed9 tests/fs/nfs/nfsservice/rumpnfsd.c
--- a/tests/fs/nfs/nfsservice/rumpnfsd.c Thu Sep 02 12:29:49 2010 +0000
+++ b/tests/fs/nfs/nfsservice/rumpnfsd.c Thu Sep 02 15:13:55 2010 +0000
@@ -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
/*
Home |
Main Index |
Thread Index |
Old Index