git: 9b552527017b - stable/15 - tests/timerfd: Serialize

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Tue, 19 May 2026 14:08:44 UTC
The branch stable/15 has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=9b552527017b09a533e4ece5ee4f505e540332cc

commit 9b552527017b09a533e4ece5ee4f505e540332cc
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2026-05-03 15:46:52 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2026-05-19 14:08:32 +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
    
    (cherry picked from commit 001cfc7b8aa38122c4e0fe8ae48fae3556a1f2b6)
---
 tests/sys/kern/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/sys/kern/Makefile b/tests/sys/kern/Makefile
index 535466c09cdd..3786b87e0474 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