Module Name: src
Committed By: gson
Date: Tue Aug 12 12:13:09 UTC 2014
Modified Files:
src/tests/fs/vfs: t_vnops.c
Log Message:
Mark udf_lookup_complex as an expected failure, referencing PR kern/49033.
Since it does not fail reliably, force it to fail to avoid spurious failure
reports due to unexpected success.
To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 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_vnops.c
diff -u src/tests/fs/vfs/t_vnops.c:1.40 src/tests/fs/vfs/t_vnops.c:1.41
--- src/tests/fs/vfs/t_vnops.c:1.40 Fri Jul 25 12:16:22 2014
+++ src/tests/fs/vfs/t_vnops.c Tue Aug 12 12:13:09 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: t_vnops.c,v 1.40 2014/07/25 12:16:22 martin Exp $ */
+/* $NetBSD: t_vnops.c,v 1.41 2014/08/12 12:13:09 gson Exp $ */
/*-
* Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -87,6 +87,9 @@ lookup_complex(const atf_tc_t *tc, const
USES_DIRS;
+ if (FSTYPE_UDF(tc))
+ atf_tc_expect_fail("PR kern/49033");
+
sprintf(pb, "%s/dir", mountpath);
if (rump_sys_mkdir(pb, 0777) == -1)
atf_tc_fail_errno("mkdir");
@@ -129,6 +132,9 @@ lookup_complex(const atf_tc_t *tc, const
atf_tc_fail("stat results differ, see ouput for more details");
}
+ if (FSTYPE_UDF(tc))
+ atf_tc_fail("random failure of PR kern/49033 "
+ "did not happen this time");
}
static void