Module Name: src Committed By: enami Date: Tue Jul 13 01:42:22 UTC 2010
Modified Files: src/tests/fs/ffs: t_mount.c Log Message: Make this compile again. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/tests/fs/ffs/t_mount.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/ffs/t_mount.c diff -u src/tests/fs/ffs/t_mount.c:1.3 src/tests/fs/ffs/t_mount.c:1.4 --- src/tests/fs/ffs/t_mount.c:1.3 Mon Jul 5 17:12:48 2010 +++ src/tests/fs/ffs/t_mount.c Tue Jul 13 01:42:21 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: t_mount.c,v 1.3 2010/07/05 17:12:48 pooka Exp $ */ +/* $NetBSD: t_mount.c,v 1.4 2010/07/13 01:42:21 enami Exp $ */ /* * Adapted for rump and atf from a testcase supplied @@ -25,19 +25,19 @@ { void *tmp; - if (ffs_newfs(&tmp, IMGNAME, IMGSIZE) != 0) + if (ffs_fstest_newfs(&tmp, IMGNAME, IMGSIZE) != 0) atf_tc_fail("newfs failed"); atf_tc_expect_fail("PR kern/43573"); - if (ffs_mount(tmp, MNTDIR, 0) != 0) { + if (ffs_fstest_mount(tmp, MNTDIR, 0) != 0) { atf_tc_fail("mount failed"); } atf_tc_expect_pass(); - if (ffs_unmount(MNTDIR, 0) != 0) + if (ffs_fstest_unmount(MNTDIR, 0) != 0) atf_tc_fail("unmount failed"); - if (ffs_delfs(tmp) != 0) + if (ffs_fstest_delfs(tmp) != 0) atf_tc_fail("delfs failed"); }