Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/fs/vfs Mark the udf_renamerace test case (but not udf_...
details: https://anonhg.NetBSD.org/src/rev/97f304868bda
branches: trunk
changeset: 797815:97f304868bda
user: gson <gson%NetBSD.org@localhost>
date: Tue Jul 29 09:15:48 2014 +0000
description:
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.
diffstat:
tests/fs/vfs/t_renamerace.c | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (28 lines):
diff -r 7e66325fb56d -r 97f304868bda tests/fs/vfs/t_renamerace.c
--- a/tests/fs/vfs/t_renamerace.c Tue Jul 29 08:36:13 2014 +0000
+++ b/tests/fs/vfs/t_renamerace.c Tue Jul 29 09:15:48 2014 +0000
@@ -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 @@
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 @@
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");
/*
Home |
Main Index |
Thread Index |
Old Index