From nobody Thu Sep 15 13:58:48 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 4MSzMD5QXCz4cLBM; Thu, 15 Sep 2022 13:58:48 +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 4MSzMD50Pnz4209; Thu, 15 Sep 2022 13:58:48 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663250328; 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=oAq2Y37V9stW0FQHATLW3fw7kNkWUbVy/xms/VzF/8g=; b=o9PQ4CqG9hm1ZzV2672e8MtYn+BN0Y3KG77LpBn0YQYCmLqXjE+gD839QOMiwyn2xTWGTq 39HkUIDi8CcPK/WgXCVytVqJ+m2lLYtgcRfDp35emO0VXT5eEw7niQ6lKt1tfPcCWBMP7o dhJ1TJOXl2fkRXOjv0ayNJ6oYiwsVOSTXy9g/q52xda52KSNijbqGo0CUcinJ+zCitVQ54 DTj7sa0yBD+VhyUA5GkMc8o+74jafZkRAxbY6TEwYnb9n3uEexF6mltrC6qpI1SBUwUzjN OfpLUMeqKGff4F7QgF/v9iLXY2ZTPVhqoDt5bpx88wX+UeWwRwI39qiXIkGxaA== 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 4MSzMD44NMz12Qb; Thu, 15 Sep 2022 13:58:48 +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 28FDwmIq048704; Thu, 15 Sep 2022 13:58:48 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 28FDwmbJ048703; Thu, 15 Sep 2022 13:58:48 GMT (envelope-from git) Date: Thu, 15 Sep 2022 13:58:48 GMT Message-Id: <202209151358.28FDwmbJ048703@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mitchell Horne Subject: git: 80dadb9c1acf - main - pf tests: require scapy for ether:short_pkt 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: mhorne X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 80dadb9c1acf406ec25c6db0d0f8551406ae8920 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663250328; 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=oAq2Y37V9stW0FQHATLW3fw7kNkWUbVy/xms/VzF/8g=; b=Oc5qNR3VLCsKHKmd11WCUErCdsp0PTCMZvWd3wQLvUy4SD/xXSH2BwHdqUeD73+i1GSv6q tm3CcEiJk7bhsyLvx09WdArrRH5go7+d/9v2FTCUySgvwCexoRsP690hv5cMnkmaBIQLTY yFeUe5WG6xy+ZGylC7ezbfaYPf3gRq9I/Xbfnr9IHkSpkKACYdybFbSBCiQ2YpnN6sm3gl VmuD4CsNip9GqYoMJb2LoZAFoOsQPcjnC8ceRQ+JISLCQV4M0IpXYmE+/YPym5Iodq1O1o 681+UMBFRueMXSRqkzZ2xt2FLITgj5nrIeLvaHf4vAqaPlglOu+w81IGD4jH4w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1663250328; a=rsa-sha256; cv=none; b=js039e6SZEdP7uUfbr1dyHRM4BpR/xhZfVjMMR9m5maHby7fTp8ol5MPUYFuDcX0Cwseji yfxPgIOYUFb7F6VVBSvk6TYC4UiuYPR6k+vSjLp4DqfJIP+9Nhkn2F4h3RxBlH7j29ML/Z c5xRqlOFvEqlWrFHwaaiyWew+MEJ+y5prmE9cf6o25IcGynNM7j8Bmj31J9SZLcBDndpsa SWmA0rKUz36zPU7oSV77fX2C8jbpT97MAvhsx1BLf6GqjxrHahhw5yLIjH8LMtZe1FKoU0 3S6xeRZLnz4+DEZ6bTixrgq6p4T7r6AjiTZc0AD8jie0DQguPMCkL5m9IS3oHA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mhorne: URL: https://cgit.FreeBSD.org/src/commit/?id=80dadb9c1acf406ec25c6db0d0f8551406ae8920 commit 80dadb9c1acf406ec25c6db0d0f8551406ae8920 Author: Mitchell Horne AuthorDate: 2022-09-15 13:57:07 +0000 Commit: Mitchell Horne CommitDate: 2022-09-15 13:58:42 +0000 pf tests: require scapy for ether:short_pkt The pft_ether.py script requires both python and scapy to be installed. Check for this so we properly skip the test when it is unavailable. Reviewed by: kp Fixes: 07ffa50ba075d ("pf tests: test short packets") Differential Revision: https://reviews.freebsd.org/D36561 --- tests/sys/netpfil/pf/ether.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/sys/netpfil/pf/ether.sh b/tests/sys/netpfil/pf/ether.sh index 0fe5069cf74c..63ca9080cbd2 100644 --- a/tests/sys/netpfil/pf/ether.sh +++ b/tests/sys/netpfil/pf/ether.sh @@ -642,6 +642,7 @@ short_pkt_head() { atf_set descr 'Test overly short Ethernet packets' atf_set require.user root + atf_set require.progs scapy } short_pkt_body()