From nobody Fri Dec 29 07:48:59 2023 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 4T1cvc0wphz55XLY; Fri, 29 Dec 2023 07:49:00 +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 4T1cvc0P7Tz4gCq; Fri, 29 Dec 2023 07:49:00 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1703836140; 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=v8RnaA8W94K2zn0ryfEl1elPErkBcb366b1JdsRMDBE=; b=L4nacjMOfhyWyQ9qiIqPIm3EQ8Y+TMTEHSdQ0Ev+dJGS2aHlr5L1aGXldLPifvOqu2Smwn PqleROFSXimqiN4bAgg3nRGsVDdbae+rlOpr2pfvrrAtLCHcRPweuZSCq/cvBhNXnGFrVi tInVzgwPO4nlT8UIC+WZW+RGHVMLvqzKYrv5cHS/u0S+v1nqCqSghnXLUC81fMMimKsPnP cTokicjMb0kgkmQYpp+nPzhI9cTxAkGOZdVuhTQmGopOXMuurxtyYwegoDD6tbMeZRimy4 FtL8a3IYA32ybjZj20my7AvW7zUaeLykMEU4nm6WhM8ALINGBrtMTBKcCcYLJA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1703836140; a=rsa-sha256; cv=none; b=Z0fuoLZ1zUZkDuPaOZItKFBVJDJD8gCNkzwwTAtmsL8hhcUTSRnZjy0Ei9mPIG9Bo+bH2b 90bS4WCiir71xIV3hCxnPYYjKiPxoncgRssN/eCCVWymBiG7otw586uVyKBEDDS+OJ9ong 3Xs2QtaFNt5fbm+rceZUNuTwwa3EkHcU18MKNVoYWsRD1Z7npRcYulCMt1/NlB9lQEMPH3 0YtIZp6Tq6JCEah7YfOorTcPm74Mp8lnrppaGyD052fkG36o86r9ct/3FrJWh5IFz4wVQB wFvB/1kiuvj+ZMEgFIaLM4HTK6kVeqnUcpj/rRoqtzTCXtWLB0ZvrZGgodoEKQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1703836140; 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=v8RnaA8W94K2zn0ryfEl1elPErkBcb366b1JdsRMDBE=; b=GzYIsWJKWU2Pf4NpBMjmJoHYBtvCdqC0kbf1fJ891rkDFYyp/5dInWVuZJ2B6yWc6trQwY Bx3EeqDW/CpHeC6REmvre0vdni0krZ5p4BbxjISBDDxM9RQdaKH3oWX+lVplrK2Nh2XH8m pDB0HrSA8hprkdFQ+SDnJd4xXEz4GLRgDGTPXGvcgtwq0APn6waai2lnsPBwhrckG3oZlM Ia93YCqUGOoVF3r+yhM9YYfDu7lvMpa6LcStJEtCO/bXqdh5QQU/eXNYG4Pckt+kL0Z8wd 3tHTKNGNl/SZy5D29hs9p91WgHdz+rsETdXYwQzHSGi+7QaRozRJlYkyd3briQ== 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 4T1cvb6MxQzxbn; Fri, 29 Dec 2023 07:48:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3BT7mxs1030146; Fri, 29 Dec 2023 07:48:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3BT7mxOp030143; Fri, 29 Dec 2023 07:48:59 GMT (envelope-from git) Date: Fri, 29 Dec 2023 07:48:59 GMT Message-Id: <202312290748.3BT7mxOp030143@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Vincenzo Maffione Subject: git: ee5804da116f - main - netmap: fix unit tests 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: vmaffione X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ee5804da116f2107451c8b4376b69b3a64a630e8 Auto-Submitted: auto-generated The branch main has been updated by vmaffione: URL: https://cgit.FreeBSD.org/src/commit/?id=ee5804da116f2107451c8b4376b69b3a64a630e8 commit ee5804da116f2107451c8b4376b69b3a64a630e8 Author: Vincenzo Maffione AuthorDate: 2023-12-29 07:46:46 +0000 Commit: Vincenzo Maffione CommitDate: 2023-12-29 07:46:46 +0000 netmap: fix unit tests After ad874544d9f018bf8eef4053b5ca7b856c4674cb, interface name validation has been removed, resulting in two unit tests failures. Drop the failing tests since they no longer apply. Reported by: markj --- tests/sys/netmap/ctrl-api-test.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/sys/netmap/ctrl-api-test.c b/tests/sys/netmap/ctrl-api-test.c index 9fc08d3082a4..8d33b4c58d2a 100644 --- a/tests/sys/netmap/ctrl-api-test.c +++ b/tests/sys/netmap/ctrl-api-test.c @@ -1803,7 +1803,6 @@ static struct nmreq_parse_test nmreq_parse_tests[] = { { "netmap:", "", NULL, EINVAL, 0, 0, 0 }, { "netmap:^", "", NULL, EINVAL, 0, 0, 0 }, { "netmap:{", "", NULL, EINVAL, 0, 0, 0 }, - { "netmap:vale0:0", NULL, NULL, EINVAL, 0, 0, 0 }, { "eth0", NULL, NULL, EINVAL, 0, 0, 0 }, { "vale0:0", "vale0:0", "", 0, NR_REG_ALL_NIC, 0, 0 }, { "vale:0", "vale:0", "", 0, NR_REG_ALL_NIC, 0, 0 }, @@ -1811,7 +1810,6 @@ static struct nmreq_parse_test nmreq_parse_tests[] = { { "valeXXX:YYY-4", "valeXXX:YYY", "", 0, NR_REG_ONE_NIC, 4, 0 }, { "netmapXXX:eth0", NULL, NULL, EINVAL, 0, 0, 0 }, { "netmap:14", "14", "", 0, NR_REG_ALL_NIC, 0, 0 }, - { "netmap:eth0&", NULL, NULL, EINVAL, 0, 0, 0 }, { "netmap:pipe{0", "pipe{0", "", 0, NR_REG_ALL_NIC, 0, 0 }, { "netmap:pipe{in", "pipe{in", "", 0, NR_REG_ALL_NIC, 0, 0 }, { "netmap:pipe{in-7", "pipe{in", "", 0, NR_REG_ONE_NIC, 7, 0 },