From nobody Thu May 25 13:15:43 2023 X-Original-To: dev-commits-src-branches@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 4QRpTC5Lkmz4TyjB; Thu, 25 May 2023 13:15:43 +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 4QRpTC4nJ6z44QZ; Thu, 25 May 2023 13:15:43 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685020543; 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=SzvGLFgOpies6O5WL3AaMANDFFmbQvszU99EbgPgmh4=; b=mJGHEKoZ306Q8xqk/KFS9bZQKxyvMlk3M7xvJhR18pingWO+87RxK6uAxrU0pK7D+D0mKz q9ezY69DK+MSjd/li9GWM1L5/yDz9zUnrvTkj90UwA5t/U+bth9Nv3xprhnBZrOrcYVSD7 aB031d6nuQ6k58yhBhWC0I5ljyNKBcnpJAeIBMab5ghTzB7FtDAcmtco/l8AwDjD+Ke4Tm afyE1jOeolKM5IfjzoZCa3JzTPaSzWq0SmuP7tgBEql6RoVL6jNxSfNZR+auYcNvMEKdyk pOCDedFKdALSEgU0/M9amhnFednxa9vshaRfwgLq4gimrC4/mKIpEpfwbvG4Zw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685020543; 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=SzvGLFgOpies6O5WL3AaMANDFFmbQvszU99EbgPgmh4=; b=tKck7AmwqfGqZ1s2iqLbmLp8UXfJL1dVZn6DNnzjiL52Q7rWGYUwRSkhOZsZ1/T5wUCUjn WWaQ7Z89soH8ii3VYCOf3Bx4I3UhISbDsaAwLSk7Ju4p3AmiUgfuGrXK2zQHH0T5wNZVLT //J9p5fVI0cYkdKlgE6s0tMdTpejqCr8YX7FbMswDegYj0I9TIkU5BUjTxpPQNsA6laJhx p3xpBdR8i2NPGOTm/Q+lgfzKyKtubIHutAnnmPXyh4RcNOeuslAJPUZjhLos1FWivvXLuV tz6cDfFYJjjw56QPc1DsT1O8L0Kdb26vlKsuTU5dzM+OnqVtyfGVUg1gjo1IAA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685020543; a=rsa-sha256; cv=none; b=GBv/6L3YZWVuqgcPBW53HfKipra2fNiB9ga0urFfQPCR/STrRMb0Nyo2DV1doBW7LVR3of 40kIzJsyu4KDO1e8C++0bq+VU10VHLgR6eaGDzNAWr5rGEdCF1zbu5v3PJx/NtJMWdScBn oacCO3BeZ780MYUCGkwHZX4HBq4tuDTXiy4dhzBDNrKZnBh1I6qgaq/8mMNcjkbWDxH9Qn 88UkBs6MV3aj+Vv/fBEm1xa7r0zrf5yKZXR4E3JH2O4X54PGc4J6uaBGLTrcoAmeGk9DAU 0vBV9PxWa1RpmZvS2wc9HZXhSS8Z5KoCi3vlak8vIXXBHvj5V2NLCZM/xWz+Ow== 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 4QRpTC3rJxzR20; Thu, 25 May 2023 13:15:43 +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 34PDFh8T047607; Thu, 25 May 2023 13:15:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34PDFhq9047606; Thu, 25 May 2023 13:15:43 GMT (envelope-from git) Date: Thu, 25 May 2023 13:15:43 GMT Message-Id: <202305251315.34PDFhq9047606@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Kristof Provost Subject: git: 12c83a44794e - stable/13 - pfsync tests: check for the correct IP address List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kp X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 12c83a44794e8bab3355a44b1d19b83eb05e7d52 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=12c83a44794e8bab3355a44b1d19b83eb05e7d52 commit 12c83a44794e8bab3355a44b1d19b83eb05e7d52 Author: Kristof Provost AuthorDate: 2023-05-18 19:37:48 +0000 Commit: Kristof Provost CommitDate: 2023-05-25 01:56:24 +0000 pfsync tests: check for the correct IP address When checking if the state synced over we should look for 198.51.100.254, not 198.51.100.2. The test worked because the incorrect address is a substring of the correct one, but we should fix it anyway. Reported by: Naman Sood MFC after: 1 week (cherry picked from commit 0d574d8ba8b244f40c1484123c5042f49ac642b8) --- tests/sys/netpfil/pf/pfsync.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/sys/netpfil/pf/pfsync.sh b/tests/sys/netpfil/pf/pfsync.sh index 748c0b2fcf29..513280331255 100644 --- a/tests/sys/netpfil/pf/pfsync.sh +++ b/tests/sys/netpfil/pf/pfsync.sh @@ -87,7 +87,7 @@ common_body() sleep 2 if ! jexec two pfctl -s states | grep icmp | grep 198.51.100.1 | \ - grep 198.51.100.2 ; then + grep 198.51.100.254 ; then atf_fail "state not found on synced host" fi }