Source-Changes-HG archive

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

[src/trunk]: src/tests/fs/ffs Make this compile again.



details:   https://anonhg.NetBSD.org/src/rev/57a1a501d69f
branches:  trunk
changeset: 756330:57a1a501d69f
user:      enami <enami%NetBSD.org@localhost>
date:      Tue Jul 13 01:42:21 2010 +0000

description:
Make this compile again.

diffstat:

 tests/fs/ffs/t_mount.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (33 lines):

diff -r 20b907414401 -r 57a1a501d69f tests/fs/ffs/t_mount.c
--- a/tests/fs/ffs/t_mount.c    Mon Jul 12 21:37:47 2010 +0000
+++ b/tests/fs/ffs/t_mount.c    Tue Jul 13 01:42:21 2010 +0000
@@ -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");
 }
 



Home | Main Index | Thread Index | Old Index