Source-Changes-HG archive

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

[src/trunk]: src/tests/fs/vfs Remove unneeded atf_tc_expect_pass calls.



details:   https://anonhg.NetBSD.org/src/rev/4241624db494
branches:  trunk
changeset: 778253:4241624db494
user:      njoly <njoly%NetBSD.org@localhost>
date:      Tue Mar 20 18:20:49 2012 +0000

description:
Remove unneeded atf_tc_expect_pass calls.

diffstat:

 tests/fs/vfs/t_io.c    |  3 +--
 tests/fs/vfs/t_vnops.c |  3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r 98666e922880 -r 4241624db494 tests/fs/vfs/t_io.c
--- a/tests/fs/vfs/t_io.c       Tue Mar 20 17:44:17 2012 +0000
+++ b/tests/fs/vfs/t_io.c       Tue Mar 20 18:20:49 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_io.c,v 1.9 2012/03/20 05:21:45 jruoho Exp $  */
+/*     $NetBSD: t_io.c,v 1.10 2012/03/20 18:20:49 njoly Exp $  */
 
 /*-
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -89,7 +89,6 @@
        RL(rump_sys_ftruncate(fd, seekcnt));
        RL(rump_sys_fstat(fd, &sb));
        ATF_REQUIRE_EQ(sb.st_size, seekcnt);
-       atf_tc_expect_pass();
 
        ATF_REQUIRE_EQ(rump_sys_write(fd, TESTSTR, TESTSZ), TESTSZ);
        ATF_REQUIRE_EQ(rump_sys_pread(fd, buf, TESTSZ, seekcnt), TESTSZ);
diff -r 98666e922880 -r 4241624db494 tests/fs/vfs/t_vnops.c
--- a/tests/fs/vfs/t_vnops.c    Tue Mar 20 17:44:17 2012 +0000
+++ b/tests/fs/vfs/t_vnops.c    Tue Mar 20 18:20:49 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_vnops.c,v 1.32 2012/03/19 03:33:54 pgoyette Exp $    */
+/*     $NetBSD: t_vnops.c,v 1.33 2012/03/20 18:20:49 njoly Exp $       */
 
 /*-
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -317,7 +317,6 @@
 
        if (rump_sys_rename("dir1/..", "sometarget") != -1 || errno != EINVAL)
                atf_tc_fail_errno("self-dotdot from");
-       atf_tc_expect_pass();
 
        if (rump_sys_rename("dir1", "dir2/..") != -1 || errno != EINVAL)
                atf_tc_fail("other-dotdot");



Home | Main Index | Thread Index | Old Index