git: 325b327ff7d7 - stable/15 - libc/limits_test: add no-op testcase to satisfy kyua

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Thu, 01 Jan 2026 22:21:41 UTC
The branch stable/15 has been updated by fuz:

URL: https://cgit.FreeBSD.org/src/commit/?id=325b327ff7d7ece7646058c4d42f087c026c9d08

commit 325b327ff7d7ece7646058c4d42f087c026c9d08
Author:     Siva Mahadevan <me@svmhdvn.name>
AuthorDate: 2025-10-23 13:17:25 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2026-01-01 20:51:52 +0000

    libc/limits_test: add no-op testcase to satisfy kyua
    
    This test suite is purely tested with compile-time assertions, so
    it needs a dummy runtime test to ensure that kyua reports the
    file as passing.
    
    Pull Request:   https://github.com/freebsd/freebsd-src/pull/1915
    Sponsored by:   The FreeBSD Foundation
    Reviewed by:    fuz
    Approved by:    markj (mentor)
    MFC after:      1 month
    Signed-off-by:  Siva Mahadevan <me@svmhdvn.name>
    
    (cherry picked from commit 27ff0bbcfd27df588d3f486cb21180a26031b889)
---
 lib/libc/tests/gen/limits_test.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/lib/libc/tests/gen/limits_test.c b/lib/libc/tests/gen/limits_test.c
index b4e8bf3178f1..7324ef74319e 100644
--- a/lib/libc/tests/gen/limits_test.c
+++ b/lib/libc/tests/gen/limits_test.c
@@ -93,9 +93,12 @@ CHECK_UTYPE(uintptr_t, UINTPTR);
 CHECK_UTYPE(size_t, SIZE);
 
 /* dummy */
+ATF_TC_WITHOUT_HEAD(dummy);
+ATF_TC_BODY(dummy, tc) {}
+
 ATF_TP_ADD_TCS(tp)
 {
-	(void)tp;
+	ATF_TP_ADD_TC(tp, dummy);
 
 	return (atf_no_error());
 }