Update test cases for UDF now udf_rename() uses the genfs_rename framework

This commit is contained in:
reinoud 2013-07-10 18:55:00 +00:00
parent 5bf2bdc26b
commit ef76be89bb
2 changed files with 4 additions and 14 deletions

View File

@ -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 char *mp)
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, const char *mp)
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))

View File

@ -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 char *mp)
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, const char *mp)
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");