git: 7797d079ff13 - stable/14 - tests/timerfd: Serialize

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

URL: https://cgit.FreeBSD.org/src/commit/?id=7797d079ff136e9e13e7d66a160560913914f9a7

commit 7797d079ff136e9e13e7d66a160560913914f9a7
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2026-05-03 15:46:52 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2026-05-19 16:46:28 +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 4d45a68ef244..51d4aeeaedfc 100644
--- a/tests/sys/kern/Makefile
+++ b/tests/sys/kern/Makefile
@@ -46,6 +46,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