Module Name: src Committed By: gson Date: Sat Nov 27 15:23:33 UTC 2021
Modified Files: src/tests/fs/vfs: t_renamerace.c Log Message: Force failure of the nfs_renamerace_cycle, p2k_ffs_renamerace_cycle, and puffs_renamerace_cycle test cases as they fail only randomly or only on some systems. To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43 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.42 src/tests/fs/vfs/t_renamerace.c:1.43 --- src/tests/fs/vfs/t_renamerace.c:1.42 Sat Oct 23 17:43:08 2021 +++ src/tests/fs/vfs/t_renamerace.c Sat Nov 27 15:23:33 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: t_renamerace.c,v 1.42 2021/10/23 17:43:08 hannken Exp $ */ +/* $NetBSD: t_renamerace.c,v 1.43 2021/11/27 15:23:33 gson Exp $ */ /* * Modified for rump and atf from a program supplied @@ -253,6 +253,12 @@ renamerace_cycle(const atf_tc_t *tc, con if (FSTYPE_UDF(tc)) atf_tc_fail("PR kern/56253 did not trigger this time"); + if (FSTYPE_P2K_FFS(tc)) + atf_tc_fail("did not fail this time"); + if (FSTYPE_PUFFS(tc)) + atf_tc_fail("did not fail this time"); + if (FSTYPE_NFS(tc)) + atf_tc_fail("did not fail this time"); } ATF_TC_FSAPPLY(renamerace, "rename(2) race with file unlinked mid-operation");