git: e4a257058c95 - main - tests: Get rid of invalid since 3e11d3f6 testcase

From: Dmitry Chagin <dchagin_at_FreeBSD.org>
Date: Thu, 12 May 2022 19:15:55 UTC
The branch main has been updated by dchagin:

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

commit e4a257058c95beca39aecebc70604ec5d8e37938
Author:     Dmitry Chagin <dchagin@FreeBSD.org>
AuthorDate: 2022-05-12 19:14:41 +0000
Commit:     Dmitry Chagin <dchagin@FreeBSD.org>
CommitDate: 2022-05-12 19:14:41 +0000

    tests: Get rid of invalid since 3e11d3f6 testcase
    
    MFC after:              2 weeks
---
 tests/sys/kern/sched_affinity.c | 23 -----------------------
 1 file changed, 23 deletions(-)

diff --git a/tests/sys/kern/sched_affinity.c b/tests/sys/kern/sched_affinity.c
index 2237acf75f88..0c864342ff01 100644
--- a/tests/sys/kern/sched_affinity.c
+++ b/tests/sys/kern/sched_affinity.c
@@ -218,27 +218,6 @@ ATF_TC_BODY(test_getsetsize, tc)
 	CPU_FREE(set);
 }
 
-ATF_TC_WITHOUT_HEAD(test_schedgetsetsize);
-ATF_TC_BODY(test_schedgetsetsize, tc)
-{
-	cpuset_t *set;
-	int cpusetsize;
-
-	cpusetsize = CPU_ALLOC_SIZE(maxcpuid + 1);
-	set = CPU_ALLOC(maxcpuid + 1);
-	ATF_REQUIRE(set != NULL);
-	CPU_ZERO_S(maxcpuid + 1, set);
-	ATF_REQUIRE(sched_getaffinity(0, cpusetsize, set) == cpusetsize);
-	CPU_FREE(set);
-
-	set = CPU_ALLOC(CPU_SETSIZE);
-	ATF_REQUIRE(set != NULL);
-	cpusetsize = CPU_ALLOC_SIZE(CPU_SETSIZE);
-	CPU_ZERO(set);
-	ATF_REQUIRE(sched_getaffinity(0, cpusetsize, set) == cpusetsize);
-	CPU_FREE(set);
-}
-
 ATF_TC_WITHOUT_HEAD(test_holes);
 ATF_TC_BODY(test_holes, tc)
 {
@@ -289,8 +268,6 @@ ATF_TP_ADD_TCS(tp)
 	ATF_TP_ADD_TC(tp, test_getminsetsize);
 	ATF_TP_ADD_TC(tp, test_getsetsize);
 
-	ATF_TP_ADD_TC(tp, test_schedgetsetsize);
-
 	ATF_TP_ADD_TC(tp, test_holes);
 
 	return (atf_no_error());