Source-Changes-HG archive

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

[src/trunk]: src/tests/fs/vfs Cover the last failing UDF test cases with a re...



details:   https://anonhg.NetBSD.org/src/rev/3f2d1481980d
branches:  trunk
changeset: 787847:3f2d1481980d
user:      reinoud <reinoud%NetBSD.org@localhost>
date:      Mon Jul 08 06:44:51 2013 +0000

description:
Cover the last failing UDF test cases with a reference to PR kern/47986, i.e.
all rename's fail until UDF switches over to the new rename framework solving
the locking mechanism.

diffstat:

 tests/fs/vfs/t_renamerace.c |  10 +++++++++-
 tests/fs/vfs/t_vnops.c      |  10 +++++++++-
 2 files changed, 18 insertions(+), 2 deletions(-)

diffs (62 lines):

diff -r efb0670604d5 -r 3f2d1481980d tests/fs/vfs/t_renamerace.c
--- a/tests/fs/vfs/t_renamerace.c       Mon Jul 08 05:36:23 2013 +0000
+++ b/tests/fs/vfs/t_renamerace.c       Mon Jul 08 06:44:51 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_renamerace.c,v 1.27 2013/03/17 02:48:31 jmmv Exp $   */
+/*     $NetBSD: t_renamerace.c,v 1.28 2013/07/08 06:44:51 reinoud Exp $        */
 
 /*
  * Modified for rump and atf from a program supplied
@@ -96,6 +96,10 @@
        if (FSTYPE_RUMPFS(tc))
                atf_tc_skip("rename not supported by file system");
 
+       if (FSTYPE_UDF(tc))
+               atf_tc_skip("PR kern/47986: UDF is not using the new"
+                       "rename framework yet");
+
        RZ(rump_pub_lwproc_rfork(RUMP_RFCFDG));
        RL(wrkpid = rump_sys_getpid());
 
@@ -140,6 +144,10 @@
        if (FSTYPE_RUMPFS(tc))
                atf_tc_skip("rename not supported by file system");
 
+       if (FSTYPE_UDF(tc))
+               atf_tc_skip("PR kern/47986: UDF is not using the new"
+                       "rename framework yet");
+
        /* XXX: msdosfs also sometimes hangs */
        if (FSTYPE_MSDOS(tc))
                atf_tc_expect_signal(-1, "PR kern/43626");
diff -r efb0670604d5 -r 3f2d1481980d tests/fs/vfs/t_vnops.c
--- a/tests/fs/vfs/t_vnops.c    Mon Jul 08 05:36:23 2013 +0000
+++ b/tests/fs/vfs/t_vnops.c    Mon Jul 08 06:44:51 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_vnops.c,v 1.34 2013/03/16 05:45:37 jmmv Exp $        */
+/*     $NetBSD: t_vnops.c,v 1.35 2013/07/08 06:44:51 reinoud Exp $     */
 
 /*-
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -206,6 +206,10 @@
        if (FSTYPE_RUMPFS(tc))
                atf_tc_skip("rename not supported by file system");
 
+       if (FSTYPE_UDF(tc))
+               atf_tc_skip("PR kern/47986: UDF is not using the new"
+                       "rename framework yet");
+
        USES_DIRS;
 
        md(pb1, mp, "dir1");
@@ -338,6 +342,10 @@
        if (FSTYPE_RUMPFS(tc))
                atf_tc_skip("rename not supported by file system");
 
+       if (FSTYPE_UDF(tc))
+               atf_tc_skip("PR kern/47986: UDF is not using the new"
+                       "rename framework yet");
+
        if (rump_sys_chdir(mp) == -1)
                atf_tc_fail_errno("chdir mountpoint");
 



Home | Main Index | Thread Index | Old Index