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 udf_lookup_complex as an expected failure, ...



details:   https://anonhg.NetBSD.org/src/rev/20e084934215
branches:  trunk
changeset: 331496:20e084934215
user:      gson <gson%NetBSD.org@localhost>
date:      Tue Aug 12 12:13:09 2014 +0000

description:
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.

diffstat:

 tests/fs/vfs/t_vnops.c |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (29 lines):

diff -r 94e8e6e67eb6 -r 20e084934215 tests/fs/vfs/t_vnops.c
--- a/tests/fs/vfs/t_vnops.c    Tue Aug 12 11:49:04 2014 +0000
+++ b/tests/fs/vfs/t_vnops.c    Tue Aug 12 12:13:09 2014 +0000
@@ -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 @@
 
        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 @@
 
                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



Home | Main Index | Thread Index | Old Index