From nobody Tue Feb 20 18:33:23 2024 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 4TfShh1Kb4z55NnS; Tue, 20 Feb 2024 18:33:24 +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 4TfShg4Gw5z4Qcm; Tue, 20 Feb 2024 18:33:23 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708454003; 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=/NitIqlswQx4WEXuAA1ir+2eM+4eijFFFj6xNtRP1uk=; b=lLctkctTtuOSxfQtFrkPkQX0u3TK7GhFD1hWotT1IaM9xMFHXXiTJKKk3Z5x+BbAd2cPCG btxNxLpIni/1EtenQKuiQEgnQgqVNP2mELtRHEmXeJxe14aTzJUy69AYPE+cCUkdA5gMHY AwNOni3M3pcsRVKrq/MA9eNVubblgpKeekvkgCe14uJIHyFg6xOdhXcmM8baWnZuYtzfd1 gsncnOkMzxPgaODyFDJHacyjrGgKZAps7I1bO6oKilk5ECMEg+cy+0BO6fedvruFbc1blL adJfbrmXDQECQn4nOGGlmQy3tA25VGzX+Y4cdoudzzNm3nUdGM7JfDDO9ShFcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708454003; 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=/NitIqlswQx4WEXuAA1ir+2eM+4eijFFFj6xNtRP1uk=; b=mEBd9zL+yoTeqAQyj1RYWr3gSunTqgZ3ClcU2tn46hhPmitk3m3UxvaYAYXrVurnekv5nQ hpW48ndab4Xqn04eJw56hVmPpzk6hJrn7aXjHhqIP73uHaPhHTpEvxUAiTaqrpgExnBOo1 PUELHl5FYBFMViBNGa4WrxEPFKSf5+fuxKmcznXeiZZ0bf+euafGy4tvXgoHOVRMUofiuH 7PKZQXHTHeOiVyPCSZD/znmcJUugYn3TgDg/dXjz8GJnAm3Ax9emfJoWVm1sLkaS0cIKXc FDzQZeEybvyB2eMYLYDiYDVySKLjcjeg5ibzu8vYYlM7oeSKhUkvSUO2PbGw6A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708454003; a=rsa-sha256; cv=none; b=rKBadLz1bRsnJr91gDWtdrnne1KbMNdlDHK7vSZLRRxtF3wNYGupLTFqW1yC1IApRXBtNb uiKwsQFr26TBNoRGlIrMmSv+4Ny+Ry7gCgPkzau3T1t73t7kvSGqO/aYVrrgCM65Nj7y93 9tMw9jHCrV3Lhm9m/ghqJ2Ke9cnlmQbZNTRMnkVAFfdqsStcBbODx2mi4yYan3jWt1MJVB raP+DmV94yjMSu2GlTGhM6RMdToDjk7d9zCouwz3XHVdiDjzT/HUaYuyefPLsJC+1bwjuf gbLAPLOjJX0N8PPbSnRAZn7QUeSaPB3W95ez7WFgX778Qqrj8zI6dqg9EA8clA== 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 4TfShg3NLjzV3J; Tue, 20 Feb 2024 18:33:23 +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 41KIXNPr008780; Tue, 20 Feb 2024 18:33:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41KIXNNv008777; Tue, 20 Feb 2024 18:33:23 GMT (envelope-from git) Date: Tue, 20 Feb 2024 18:33:23 GMT Message-Id: <202402201833.41KIXNNv008777@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Gleb Smirnoff Subject: git: 28bc1822b786 - main - tests/arp: when checking 'arp -d' check that entry is removed 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: glebius X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 28bc1822b7861112755dc2a6971eadac0f94a264 Auto-Submitted: auto-generated The branch main has been updated by glebius: URL: https://cgit.FreeBSD.org/src/commit/?id=28bc1822b7861112755dc2a6971eadac0f94a264 commit 28bc1822b7861112755dc2a6971eadac0f94a264 Author: Gleb Smirnoff AuthorDate: 2024-02-20 18:32:03 +0000 Commit: Gleb Smirnoff CommitDate: 2024-02-20 18:32:03 +0000 tests/arp: when checking 'arp -d' check that entry is removed Previous check trusted the "entry was deleted" output of the command. Improved check does additional request to make sure that entry is not returned. --- tests/sys/netinet/arp.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/sys/netinet/arp.sh b/tests/sys/netinet/arp.sh index 9181d38b10b0..f13ba467a2d9 100755 --- a/tests/sys/netinet/arp.sh +++ b/tests/sys/netinet/arp.sh @@ -78,6 +78,7 @@ arp_del_success_body() { jexec ${jname} ping -c1 -t1 198.51.100.2 atf_check -o match:"198.51.100.2 \(198.51.100.2\) deleted" jexec ${jname} arp -nd 198.51.100.2 + atf_check -s exit:1 -o match:"198.51.100.2 \(198.51.100.2\) -- no entry" jexec ${jname} arp -n 198.51.100.2 } arp_del_success_cleanup() {