Module Name: src
Committed By: reinoud
Date: Mon Jul 8 06:44:51 UTC 2013
Modified Files:
src/tests/fs/vfs: t_renamerace.c t_vnops.c
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/tests/fs/vfs/t_renamerace.c
cvs rdiff -u -r1.34 -r1.35 src/tests/fs/vfs/t_vnops.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/vfs/t_renamerace.c
diff -u src/tests/fs/vfs/t_renamerace.c:1.27 src/tests/fs/vfs/t_renamerace.c:1.28
--- src/tests/fs/vfs/t_renamerace.c:1.27 Sun Mar 17 02:48:31 2013
+++ src/tests/fs/vfs/t_renamerace.c Mon Jul 8 06:44:51 2013
@@ -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 @@ renamerace(const atf_tc_t *tc, const cha
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 @@ renamerace_dirs(const atf_tc_t *tc, cons
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");
Index: src/tests/fs/vfs/t_vnops.c
diff -u src/tests/fs/vfs/t_vnops.c:1.34 src/tests/fs/vfs/t_vnops.c:1.35
--- src/tests/fs/vfs/t_vnops.c:1.34 Sat Mar 16 05:45:37 2013
+++ src/tests/fs/vfs/t_vnops.c Mon Jul 8 06:44:51 2013
@@ -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 @@ rename_dir(const atf_tc_t *tc, const cha
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 @@ rename_reg_nodir(const atf_tc_t *tc, con
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");