git: 001cfc7b8aa3 - main - tests/timerfd: Serialize

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Sun, 03 May 2026 23:09:20 UTC
The branch main has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=001cfc7b8aa38122c4e0fe8ae48fae3556a1f2b6

commit 001cfc7b8aa38122c4e0fe8ae48fae3556a1f2b6
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2026-05-03 15:46:52 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2026-05-03 21:51:49 +0000

    tests/timerfd: Serialize
    
    At least one of these tests changes the system clock, which potentially
    interferes with concurrently running tests and causes them to fail.
    
    MFC after:      1 week
---
 tests/sys/kern/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/sys/kern/Makefile b/tests/sys/kern/Makefile
index e65b4812f90b..a5a2af67e39d 100644
--- a/tests/sys/kern/Makefile
+++ b/tests/sys/kern/Makefile
@@ -55,6 +55,8 @@ ATF_TESTS_C+=	sysctl_kern_proc
 ATF_TESTS_C+=	sys_getrandom
 ATF_TESTS_C+=	timerfd
 LIBADD.timerfd+=	pthread
+# One test modifies the system time.
+TEST_METADATA.timerfd+=	is_exclusive="true"
 ATF_TESTS_C+=	tty_pts
 ATF_TESTS_C+=	unix_dgram
 ATF_TESTS_C+=	unix_passfd_dgram