From nobody Fri Jul 25 23:10:01 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 4bpk9Q6mHNz62TBs; Fri, 25 Jul 2025 23:10:02 +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 4bpk9Q19z2z3cVS; Fri, 25 Jul 2025 23:10:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1753485002; 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=HEZYMcSJaqNENoXSDCoTVlEiNxzsa7sbIpeKoWWmYAs=; b=oBWUidFkUHppFwsLBN1pYdkdui/vgleFutGvlsPRWUG80jbNJZoCBnoiCxBcUyi/0L49qk QlWjYTls/4FttiStgqU2l55ntMv7BiO3zo/eYG/L+LUlk15FBy3DZUE5WK+r6+zxWsEjtV MURGQ27OW7EQUm7yT4oNqATceSLPXoayyDsq/4lji58p+4ELxfZkqCtYOEGLmund8HB7/m X5toPCnNfMsJh+0El62K1oFIoOA/pfcROZw/iGXlLAGKO+BRvg79x9A22T/tQ8l6fPtVM+ e60fLHRs/+Zs1qJJnL1UZpnSdhTljAlIN2c/+s3w1fPFqFtZY4bXS7n4KBjwCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1753485002; 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=HEZYMcSJaqNENoXSDCoTVlEiNxzsa7sbIpeKoWWmYAs=; b=kDhX0gj8Q5cqKL2DIQ/PkWpSIYp6aglmaDA+SAbLevq1GWtd5mKzh/8IVMT2G1D+6Oi0x+ TuHZswmD+6tu0oCz2Xabiz/vOfAzLKWHtyss+8SnXBB+2Si0kUcFyOmbqMPnzfKP80mXzP 4xDWq6GdvMNYEjeCaLwTJ96bnPqn0ftehcOPN/2koajAVpwlZmc2kboF1IrXBv4q/+EjIN ZbtASpt1FjfGZzF5p+YAJBhEYkT2hJyJg27sSTvcuPLDT7lU+v9tWYPLewjHPxVpF0ryuH j0rRYE2AdARYHqpCn7Q8jLLjGhsVXdS4kwYCBlxK4NQt3RIO7en8MnOPOhQViw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1753485002; a=rsa-sha256; cv=none; b=ltSmju/Q97KZsC0jHk15bBCRlkjBr8d9XUs5H1rjWq62NBt0kDfrosiUrSFQzjzHoejOy6 CiJLQLHA+GXQqOIcjPbedekCbGggJr2j61kLQeOsepxPntfcIJ4ubTD10yZ0gTvrnlLEcB Z5O+aoLe1jIq2fBoVGh50mCHEYBMdmxXG6jlAB/h7Pz38orhcq+iQgwTc+UAMa7cIdouyo E7R3ZoC65sZPF7zfRsbdXgOIdema8rOKtO+mzysNaqv1Iu1K7Cs4APQsc8X/Te7Ln9/HSn 7KI9xaMQpHxhC5MMqwfoAUUeS4rjDsKG20Jbu2xs1cN9NbRkPqevOjRgqrqBLg== 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 4bpk9Q0VDZz14J5; Fri, 25 Jul 2025 23:10:02 +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 56PNA1ud038006; Fri, 25 Jul 2025 23:10:01 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 56PNA1M2038001; Fri, 25 Jul 2025 23:10:01 GMT (envelope-from git) Date: Fri, 25 Jul 2025 23:10:01 GMT Message-Id: <202507252310.56PNA1M2038001@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Lexi Winter Subject: git: e6ef675de261 - main - tests/sys/net/if_bridge_test: fix MTU test 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: ivy X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e6ef675de261b15ed66d434d054a6e5e69308ce5 Auto-Submitted: auto-generated The branch main has been updated by ivy: URL: https://cgit.FreeBSD.org/src/commit/?id=e6ef675de261b15ed66d434d054a6e5e69308ce5 commit e6ef675de261b15ed66d434d054a6e5e69308ce5 Author: Lexi Winter AuthorDate: 2025-07-25 23:11:39 +0000 Commit: Lexi Winter CommitDate: 2025-07-25 23:13:16 +0000 tests/sys/net/if_bridge_test: fix MTU test "ifconfig gif0 ether" doesn't return any output, so this wasn't correctly checking the MTU on the gif interface. Remove "ether". Reviewed by: zlei, kp Differential Revision: https://reviews.freebsd.org/D51245 --- tests/sys/net/if_bridge_test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/sys/net/if_bridge_test.sh b/tests/sys/net/if_bridge_test.sh index cc0b212aebd2..cd38adea28ad 100755 --- a/tests/sys/net/if_bridge_test.sh +++ b/tests/sys/net/if_bridge_test.sh @@ -537,7 +537,7 @@ get_mtu() { intf=$1 - ifconfig ${intf} ether | awk '$5 == "mtu" { print $6 }' + ifconfig ${intf} | awk '$5 == "mtu" { print $6 }' } check_mtu() @@ -546,7 +546,7 @@ check_mtu() expected=$2 mtu=$(get_mtu $intf) - if [ $mtu -ne $expected ]; + if [ "$mtu" -ne "$expected" ]; then atf_fail "Expected MTU of $expected on $intf but found $mtu" fi