From nobody Fri Jun 17 19:40:24 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 9D69285CDC2; Fri, 17 Jun 2022 19:40:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LPqBx0Rkbz3hLJ; Fri, 17 Jun 2022 19:40:25 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655494825; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=blU8Llt8CtEy5xEhlmp1tPb6+6J4H1Nxpo7ZgPhO96k=; b=Tkde3PXy4uVs9NHRbPqMKPFWDWWoFhZNsIMZlv5DtyyOK6FcEMsl1qlVWF2WvpRxMlhXwv Ub1m4Hq2B1yIXUuN66AUuxxTyJ9WE5wdy69EoJXK/syIR+xguOxINJjozOY9G1OgBGFx6L 1u7zRk3umvfY0wzgLjRDmwU/ZP5To66yz+MhiBsJY1Oh2MoY+j+cINGsats4RIlEKFwWWm fdQw20sJl43vBGaJSZmp+QceQbid4iNGJGgc6TSMp87SFWBVI3T+6Zy9DD9ZSFK/LLipbr dwa8XIL8B2I8/2h/fL4a/jAuU8PCqkxjAbTQRnX781xOplhH5ctjcVFEIQCuZg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 898B825D9F; Fri, 17 Jun 2022 19:40:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 25HJeOik025765; Fri, 17 Jun 2022 19:40:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25HJeOPn025764; Fri, 17 Jun 2022 19:40:24 GMT (envelope-from git) Date: Fri, 17 Jun 2022 19:40:24 GMT Message-Id: <202206171940.25HJeOPn025764@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Dmitry Chagin Subject: git: 7acb65fb3ecc - stable/13 - tests: Get rid of invalid since 3e11d3f6 testcase List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dchagin X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 7acb65fb3ecc7d7cfdcbe11e0871a898b60a1345 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655494825; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=blU8Llt8CtEy5xEhlmp1tPb6+6J4H1Nxpo7ZgPhO96k=; b=QLzVKf/fsWXbNwgWT8OiKI8pnpZeqF4bQj70/a90D9ksPfujMwxlH6bsd4wneHcPDfpmJg zWAdFDHF4LyBsQWkj7dWf/mIQYDDBv7UQixqdIn987gTNyNOcKZRBHQXpsWEXTRhLI5yT2 OzRYq3Bmn7R+AqupZcaG5rKpgOI4PsUuoEnJC4vRtnnGixsLzcUXk3FzpPsiGzkpw+OjQz U4xttb2e08ODlXp0iTmWJzEiKkUxN4ifa2hyTKe4OX5WQfREUNB2xfnou9AHjAttJ0pv5K W1X6udCllAM5JWXC2ZIXFIkYuIUhBShMJRMsETdjRob72uMxjVAhkNvKAfD7Rw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1655494825; a=rsa-sha256; cv=none; b=caNxN7xZe+vcfRw5GNWnW6FcMMlaLTDXy3pevIo59X3Lt00rG2c0+qbdb8LpeiBjpN8fBU gAJliTYKT3pogbade02Sacs07wGq8zO+RRCq9JrnAbu+YwZyNNgYYgwCQXaBri5zxHLvOm 3BxRPH0e+WEJmgzshur4Qx4nqU/CWO52CdMzVJoW+Zh6lQ8bCVln2awm/PpHY4gdX+LMHT 3izaK/IBr+If64/ZbIdyRPtydINhQAOIdLOL8Tbj+rnNdQzXQaGxStAYaGxM7/lYbCmxUd Km7KnPIrf042AcX1MAuH4BE2PmnZV1G4S4XlzAVZEP+T+47iF5MfOYhteOfJYw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by dchagin: URL: https://cgit.FreeBSD.org/src/commit/?id=7acb65fb3ecc7d7cfdcbe11e0871a898b60a1345 commit 7acb65fb3ecc7d7cfdcbe11e0871a898b60a1345 Author: Dmitry Chagin AuthorDate: 2022-05-12 19:14:41 +0000 Commit: Dmitry Chagin CommitDate: 2022-06-17 19:35:16 +0000 tests: Get rid of invalid since 3e11d3f6 testcase MFC after: 2 weeks (cherry picked from commit e4a257058c95beca39aecebc70604ec5d8e37938) --- 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());