Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/fs/vfs tests/fs/vfs: Mark udf_renamerace_cycle flaky, ...



details:   https://anonhg.NetBSD.org/src/rev/d6193b61660b
branches:  trunk
changeset: 379741:d6193b61660b
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Wed Jun 16 23:58:07 2021 +0000

description:
tests/fs/vfs: Mark udf_renamerace_cycle flaky, PR kern/56253.

diffstat:

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

diffs (28 lines):

diff -r 18a14035eeeb -r d6193b61660b tests/fs/vfs/t_renamerace.c
--- a/tests/fs/vfs/t_renamerace.c       Wed Jun 16 23:45:52 2021 +0000
+++ b/tests/fs/vfs/t_renamerace.c       Wed Jun 16 23:58:07 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_renamerace.c,v 1.40 2020/09/05 02:55:39 riastradh Exp $      */
+/*     $NetBSD: t_renamerace.c,v 1.41 2021/06/16 23:58:07 riastradh Exp $      */
 
 /*
  * Modified for rump and atf from a program supplied
@@ -254,6 +254,8 @@ renamerace_cycle(const atf_tc_t *tc, con
                atf_tc_expect_fail("assertion \"dfd\" failed");
        if (FSTYPE_NFS(tc))
                atf_tc_expect_fail("mkdir fails with ESTALE");
+       if (FSTYPE_UDF(tc))
+               atf_tc_expect_fail("sometimes fails with ENOSPC, PR kern/56253");
 
        /* XXX: msdosfs also sometimes hangs */
        if (FSTYPE_MSDOS(tc))
@@ -277,6 +279,9 @@ renamerace_cycle(const atf_tc_t *tc, con
        alarm(0);
        RL(rump_sys_chdir("/"));
 
+       if (FSTYPE_UDF(tc))
+               atf_tc_fail("PR kern/56253 did not trigger this time");
+
        /*
         * Doesn't always trigger when run on a slow backend
         * (i.e. not on tmpfs/mfs).  So do the usual kludge.



Home | Main Index | Thread Index | Old Index