Mark the udf_renamerace test case (but not udf_renamerace_dirs) as an

expected failure again, now with a reference to PR kern/49046.
Since the test only fails part of the time, force failure to
avoid failure reports reports due to unexpected success.
This commit is contained in:
gson 2014-07-29 09:15:48 +00:00
parent 5a86513005
commit b6f40f55e0

View File

@ -1,4 +1,4 @@
/* $NetBSD: t_renamerace.c,v 1.31 2014/07/25 13:44:59 pgoyette Exp $ */
/* $NetBSD: t_renamerace.c,v 1.32 2014/07/29 09:15:48 gson Exp $ */
/*
* Modified for rump and atf from a program supplied
@ -101,6 +101,8 @@ renamerace(const atf_tc_t *tc, const char *mp)
atf_tc_skip("filesystem has not enough inodes");
if (FSTYPE_RUMPFS(tc))
atf_tc_skip("rename not supported by file system");
if (FSTYPE_UDF(tc))
atf_tc_expect_fail("PR kern/49046");
RZ(rump_pub_lwproc_rfork(RUMP_RFCFDG));
RL(wrkpid = rump_sys_getpid());
@ -121,6 +123,9 @@ renamerace(const atf_tc_t *tc, const char *mp)
pthread_join(pt2[i], NULL);
RL(rump_sys_chdir("/"));
if (FSTYPE_UDF(tc))
atf_tc_fail("race did not trigger this time");
if (FSTYPE_MSDOS(tc)) {
atf_tc_expect_fail("PR kern/44661");
/*