From patchwork Mon Dec 4 21:34:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaap Keuter X-Patchwork-Id: 1871725 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=E4cvQpcn; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=xs4all.nl header.i=@xs4all.nl header.a=rsa-sha256 header.s=xs4all01 header.b=IBRz4lHi; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4SkcRX58dsz1ySh for ; Tue, 5 Dec 2023 08:36:08 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=a/qwQVtZZgyPfpzlxJt9qKUNixsV9J1Wo9NV9SGUaDc=; b=E4cvQpcnhD0Skw XmBd+j3p+Sayf2TaP7zEnwCN5Vcr8lNFe8wibuELXFxOUrN60B+JzACJALUHKaKDVJvpfDxQ62pwE p37JoxXpcUytDdhaYqLyX4uz9JUYp25y5YTbkH9qbD1DppmOd5/OI0xX3OTBKQUc2oDWywQZXFMVX HbGAuVszlqZxZ9XyTlpmQJYphB7wViaINJ5MfVdWC4iy78/VFUqhH6Dvgjgvxx7mmmY/zLnrhGAOn 5A6XAvEE/21dZZAbQ9oVaeSHVKWJ/AzlgW5Q+LuBoUJaUGkvan/Wj3Z4C8RqHeSoiNEGz7TO90I8X Kwvr8b4FbFNpWb+QjR2A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rAGb6-005fEc-22; Mon, 04 Dec 2023 21:35:24 +0000 Received: from ewsoutbound.kpnmail.nl ([195.121.94.185]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rAGb1-005fEA-0w for hostap@lists.infradead.org; Mon, 04 Dec 2023 21:35:22 +0000 X-KPN-MessageId: fa846947-92ec-11ee-abd3-005056999439 Received: from smtp.kpnmail.nl (unknown [10.31.155.6]) by ewsoutbound.so.kpn.org (Halon) with ESMTPS id fa846947-92ec-11ee-abd3-005056999439; Mon, 04 Dec 2023 22:35:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xs4all.nl; s=xs4all01; h=mime-version:message-id:date:subject:to:from; bh=0FaZJ6wO2kly6UJB1B7HcH9wKWWHC6ZrAwPjr6PbS7Y=; b=IBRz4lHi3MqL7orEbPxqZXOj3jKSD1oSWteH553OhJDXxlhHf0jyGl5QzgTmIUzfp6me3BnPLHtvZ JpmDaEiWWvmhty+1gLVMr3qn/9NeRnyGkdASplRTWBc8XQDs2+OIjRoyhzcr6n+nqTfug6X69gdrGp eDGixTmzkE7odp6/wjTrltt+ojnT6aXFBa59ljL90GQz/eL8h2NKrq4cfyldWlfbPYgDqIbO/znwsm oIjX2OaEfTRMUxt9DzuA2OvOKEnMcdcMoZmEeqVKAX/Ptlo9TMxsCDRDjqK4B0gkVWeKcVXLjrsQPP xugdtnq9084YjbMSsecUC0KUYPBvAzA== X-KPN-MID: 33|ZcMeY5aL2fWOBOSzSlbaLgxnIhy0qoIJWI5r4lhIOJAtCjEq6sA7pfnAqDs6r+d enkuQg9PDEsZsIRi+HCKJMY6H93QwaRwhE7X+qmzH6Hs= X-KPN-VerifiedSender: Yes X-CMASSUN: 33|K2wL8ctxJE+5ncUN445ADg2gV7f81GgCJ14rNQnJIKcIvN8o3Bf2a32p5++hBuf 8SrQ8/D6TiqQPXKQXVh40lw== X-Originating-IP: 77.174.51.77 Received: from neptune.fritz.box (77-174-51-77.fixed.kpn.net [77.174.51.77]) by smtp.xs4all.nl (Halon) with ESMTPSA id fe71abde-92ec-11ee-9dc8-00505699772e; Mon, 04 Dec 2023 22:35:13 +0100 (CET) From: Jaap Keuter To: hostap@lists.infradead.org Cc: Jaap Keuter Subject: [PATCH] tests: Drop use of ifconfig, use ip instead Date: Mon, 4 Dec 2023 22:34:39 +0100 Message-ID: <20231204213458.3376859-1-jaap.keuter@xs4all.nl> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231204_133519_783134_A7034B7A X-CRM114-Status: UNSURE ( 9.36 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.9 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Signed-off-by: Jaap Keuter --- tests/hwsim/start.sh | 2 +- tests/hwsim/stop.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/hwsim/start.sh b/tests/hwsim/start.sh index ac43d10af..79fc05f9b 100755 --- a/tests/hwsim/start.sh +++ b/tests/hwsim/start.sh @@ -112,7 +112,7 @@ fi Content analysis details: (-0.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [195.121.94.185 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H5 RBL: Excellent reputation (+5) [195.121.94.185 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-BeenThere: hostap@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Hostap" Errors-To: hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Signed-off-by: Jaap Keuter --- tests/hwsim/start.sh | 2 +- tests/hwsim/stop.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/hwsim/start.sh b/tests/hwsim/start.sh index ac43d10af..79fc05f9b 100755 --- a/tests/hwsim/start.sh +++ b/tests/hwsim/start.sh @@ -112,7 +112,7 @@ fi test -d /sys/module/mac80211_hwsim || sudo modprobe mac80211_hwsim radios=7 channels=$NUM_CH support_p2p_device=0 dyndbg=+p -sudo ifconfig hwsim0 up +sudo ip link set hwsim0 up sudo $WLANTEST -i hwsim0 -n $LOGDIR/hwsim0.pcapng -c -dtN -L $LOGDIR/hwsim0 & for i in 0 1 2; do DBUSARG="" diff --git a/tests/hwsim/stop.sh b/tests/hwsim/stop.sh index 5d23b5bd6..22e24cd39 100755 --- a/tests/hwsim/stop.sh +++ b/tests/hwsim/stop.sh @@ -15,7 +15,7 @@ for i in `pidof valgrind.bin`; do done sudo killall -q wlantest if grep -q hwsim0 /proc/net/dev; then - sudo ifconfig hwsim0 down + sudo ip link set hwsim0 down fi sudo killall -q hlr_auc_gw