Module Name: src
Committed By: reinoud
Date: Wed Jul 10 18:55:00 UTC 2013
Modified Files:
src/tests/fs/vfs: t_renamerace.c t_vnops.c
Log Message:
Update test cases for UDF now udf_rename() uses the genfs_rename framework
To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/tests/fs/vfs/t_renamerace.c
cvs rdiff -u -r1.35 -r1.36 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.28 src/tests/fs/vfs/t_renamerace.c:1.29
--- src/tests/fs/vfs/t_renamerace.c:1.28 Mon Jul 8 06:44:51 2013
+++ src/tests/fs/vfs/t_renamerace.c Wed Jul 10 18:55:00 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: t_renamerace.c,v 1.28 2013/07/08 06:44:51 reinoud Exp $ */
+/* $NetBSD: t_renamerace.c,v 1.29 2013/07/10 18:55:00 reinoud Exp $ */
/*
* Modified for rump and atf from a program supplied
@@ -97,8 +97,7 @@ renamerace(const atf_tc_t *tc, const cha
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");
+ atf_tc_expect_fail("Test expected to fail");
RZ(rump_pub_lwproc_rfork(RUMP_RFCFDG));
RL(wrkpid = rump_sys_getpid());
@@ -145,8 +144,7 @@ renamerace_dirs(const atf_tc_t *tc, cons
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");
+ atf_tc_expect_fail("Test expected to fail");
/* XXX: msdosfs also sometimes hangs */
if (FSTYPE_MSDOS(tc))
Index: src/tests/fs/vfs/t_vnops.c
diff -u src/tests/fs/vfs/t_vnops.c:1.35 src/tests/fs/vfs/t_vnops.c:1.36
--- src/tests/fs/vfs/t_vnops.c:1.35 Mon Jul 8 06:44:51 2013
+++ src/tests/fs/vfs/t_vnops.c Wed Jul 10 18:55:00 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: t_vnops.c,v 1.35 2013/07/08 06:44:51 reinoud Exp $ */
+/* $NetBSD: t_vnops.c,v 1.36 2013/07/10 18:55:00 reinoud Exp $ */
/*-
* Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -206,10 +206,6 @@ 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");
@@ -342,10 +338,6 @@ 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");