From nobody Sun Apr 6 22:51:16 2025 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 4ZW6yY0Zhcz5s8cS; Sun, 06 Apr 2025 22:51:17 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZW6yX4BHKz3KHT; Sun, 06 Apr 2025 22:51:16 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1743979876; 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=suKi5DFIkNQzWVGVdJ5EEZlXY0DpmmD+R+2PfwcekeM=; b=Fli09nkfmaKx4uQsK2pdWKan0HSaTCAfPw7zasBvkXFz2JmSyhNAI/k6O5WzJzbrEOixHM 4J0zokP3nFmo5gUZryR4tZJxp1yptrQOWYe4N0QJ2NEZ0lw2gZYJ//NgFTjPoRSKwwm2jd B5/FHZm4iyfREJ8fie8KLpFoQjpDrUTU055Sgxpi66DxTeCNHZHP8ftNXXeoGUZRoOCYSx NZCEuDHI2EvKz2zHDZ5lJKjXA5gZhSfLBzApmcDGPCK5zFrN3vDwew/6TnOuoTpF2ofmG3 Eb8Smenty43O4OWk9EffajW55Wjf4B1DFrFWbTxZ1cHoo+7CPN6xuGxFF8X0Gg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1743979876; a=rsa-sha256; cv=none; b=OF+tZ7mSHBc/5mQzMfryau/DMcHzhC27ec3Xh1UdtBNyPgmLNpOpAQI6wcPIrQobY9mC43 /blY5BTsY/jUakHIcM4SU5rbMSD7lHp0NV35D87zzkwP8F4/7pZyQUL63ey1zQ09OiMdAi A3PCHhzT+o8qqWwjn016EV9a8OUNJjBopz0GS2L7L4/t5lSmc7F4gFssUTmc0wpsb01Y+B razKZrJ57HwMuqwbbYe6bO+CeoSdG9NdKU6redbvrOpiusD9c56HocVg5YQalLdXcFjcKA fA9tKEA/Q4pu9lxv8jXiP9wywnHbFWY/wYN07tUtleUYYDe3ZpTB9E6h6+gXIw== 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=1743979876; 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=suKi5DFIkNQzWVGVdJ5EEZlXY0DpmmD+R+2PfwcekeM=; b=qBwBFftQZJjPSa7+9Yy3ANqexgEUqr62MKsPTZX75QJFUdGFNI6h1QNe0vFSEhUP0i+i8F EpDBZ1JGNzJxu7o3HMdR83ZJAVJJqt+PWR8Pzv7IC/7v6wItrq4xz3eoqRHx+OIaX0Ei8a +lywOoUoWtjGs6odVizy9Rg1ZBrbulaLyyx4E4ifDuJe7fHXV1JP7UPXFII9msTzDNHY38 JKbfFqt9bh/l2akLDW+N+Q6VfoPfsJw2ij04vAzxCkAu9IYGi+rtGYTSW2O4e6OgcAXjxN 6tQyKHgou52ABeD3sR1ZY0lo630dUyRCZuc67g4RROLguxdpJ/uA/SWCecSuFA== 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 4ZW6yX3p1Tz5lQ; Sun, 06 Apr 2025 22:51:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 536MpGP3077256; Sun, 6 Apr 2025 22:51:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 536MpGlM077253; Sun, 6 Apr 2025 22:51:16 GMT (envelope-from git) Date: Sun, 6 Apr 2025 22:51:16 GMT Message-Id: <202504062251.536MpGlM077253@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mark Johnston Subject: git: 984e3d813e5f - stable/14 - 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: markj X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 984e3d813e5f1d2a0938bdf5c03712de0ab1099b Auto-Submitted: auto-generated The branch stable/14 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=984e3d813e5f1d2a0938bdf5c03712de0ab1099b commit 984e3d813e5f1d2a0938bdf5c03712de0ab1099b Author: Vincenzo Maffione AuthorDate: 2023-12-29 07:46:46 +0000 Commit: Mark Johnston CommitDate: 2025-04-06 18:05:05 +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 (cherry picked from commit ee5804da116f2107451c8b4376b69b3a64a630e8) --- 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 },