Module Name:    src
Committed By:   gson
Date:           Tue Jul 29 09:15:48 UTC 2014

Modified Files:
        src/tests/fs/vfs: t_renamerace.c

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/tests/fs/vfs/t_renamerace.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.31 src/tests/fs/vfs/t_renamerace.c:1.32
--- src/tests/fs/vfs/t_renamerace.c:1.31	Fri Jul 25 13:44:59 2014
+++ src/tests/fs/vfs/t_renamerace.c	Tue Jul 29 09:15:48 2014
@@ -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 cha
 		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 cha
 		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");
 		/*

Reply via email to