Module Name: src Committed By: ryo Date: Mon Jan 31 17:23:37 UTC 2022
Modified Files: src/tests/fs/vfs: t_renamerace.c Log Message: Extend the time to wait for the thread to quit. It seems that alarm(1) is not enough time for the thread to actually exit after quittingtime = 1. It randomly failed with "Test program received signal 14" on a slow environment. To generate a diff of this commit: cvs rdiff -u -r1.43 -r1.44 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.43 src/tests/fs/vfs/t_renamerace.c:1.44 --- src/tests/fs/vfs/t_renamerace.c:1.43 Sat Nov 27 15:23:33 2021 +++ src/tests/fs/vfs/t_renamerace.c Mon Jan 31 17:23:37 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: t_renamerace.c,v 1.43 2021/11/27 15:23:33 gson Exp $ */ +/* $NetBSD: t_renamerace.c,v 1.44 2022/01/31 17:23:37 ryo Exp $ */ /* * Modified for rump and atf from a program supplied @@ -244,7 +244,7 @@ renamerace_cycle(const atf_tc_t *tc, con sleep(10); quittingtime = 1; - alarm(1); + alarm(5); pthread_join(pt_rmdir, NULL); pthread_join(pt_rename1, NULL); pthread_join(pt_rename2, NULL);