From patchwork Sun Jun 28 23:23:01 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masashi Honma X-Patchwork-Id: 1318689 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2001:8b0:10b:1231::1; helo=merlin.infradead.org; envelope-from=hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=merlin.20170209 header.b=auhkVne1; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=jLc8QiU1; dkim-atps=neutral Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) (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) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49w6Cy4vBlz9sQt for ; Mon, 29 Jun 2020 09:25:00 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject: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=p4CE0LeQ1WtpsWkekoo9Sr4exn6GFH7yVvYniToRFCY=; b=auhkVne17VDh+W+ZxG/I7CJEW9 8Up3maNIb/l/bCHaAQpXXOLvK3kzf8zVaPgR6WGMjGNPE9Nv169gp8puQmlS5VNDRW8K3Z2ndoJUQ h+SkcWMsi0H9Z2bvmeEPepRfffvlxa0LRYvHL42S9ZJw/lHEHoaN8C5j2kzzqf0esxr1Sp/43aUPY kmaxZUUsgE5j3umggBfe7fA0bmrUo1yGud6H2y310+WVs5Ib2TnEDzXMBrGxVp7lH4ozYrHBTR+6i axbBz1zTzl8NSdd/62KiM6oWRcypta20ytmN+FZ4zn1M/ZCuG307KBatoZuOV8o0cJkuocZ1KKjqa QWih+7Lw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jpge6-0000qJ-Hb; Sun, 28 Jun 2020 23:23:34 +0000 Received: from mail-pj1-x1043.google.com ([2607:f8b0:4864:20::1043]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jpge1-0000or-Dt for hostap@lists.infradead.org; Sun, 28 Jun 2020 23:23:31 +0000 Received: by mail-pj1-x1043.google.com with SMTP id ci15so1052352pjb.5 for ; Sun, 28 Jun 2020 16:23:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ESqNhr3TmJPxY2QPPrMbchlVqjbctqsdSJx2BI40ROU=; b=jLc8QiU1TRzC6nookaSgWu1obMd2w2YL5vfdfLMqURtIvpappE+lOJBkQhw659TYFY FoY01mONLNqW4jtZqEzT2fYvvyyULB5nR+fojU8EdOg908JBbWTEDD8V+O1xV+iP9jhW vocekJB/FvOGVadM3b1chZoBPSVd0Rs8WKrdjrn6zxMNhy4HUcpx0hriOk1jTBbuqJhi GpjF+SjqprjFPjX/AxXHzQ8bBtCUBQREOt8WS2FYNX9LWS2TqaJLFDaK8dkXeQfpsZ4s bgEIdxdrr80XTvP9Xs8vE+ljXCKBigGbj30mYNGSE9ayWsCcYAH7ZCmjeflk7Tkg8lGm dvOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ESqNhr3TmJPxY2QPPrMbchlVqjbctqsdSJx2BI40ROU=; b=EEjYtTvnTdpuKya/+uZj9b46l60vZ1QTzfvKt2/aHg+lRvLaAeuXSo43vdfdrt6Jb1 YYmu1/y4Ar19VZmNjAWN8S/OaEY0KZroHnvnPXz8vmdaSRQm+RBEIzggFztufj7UzHNn aZMqoYoizUJB7UJyPJZjUhsEPzITtlqKO13JEqjYdBgkie7BY9Mtbzuc3dJllsaMkUQa ksg4YV8ByMJeTCnMeJ5wXfEbMxzkSgLX090iM0aCxblauxDa2DSK5AWS3JLLy8Vhwlpt 94MQozvhzq5if63tY/y6vqtzkpF+jEypTxLep1hgRI3w+Xgp8iDP1i1fOCojPg4AF2aa jjbg== X-Gm-Message-State: AOAM530fGt5d/DXr04scAcBGpX+JCrb7zm9Of63Q9DNWPzTsVuNbavVA h3SBdj6qgC1rQdcp2e1UQbtvzh6LTgo= X-Google-Smtp-Source: ABdhPJzf5zLmria43IgwdLGU8HbXi5gfy2aS2gbW5xnNcECwLwTdBW25TqJvMH6TRx0K0VmlKShkeQ== X-Received: by 2002:a17:902:bccc:: with SMTP id o12mr11899880pls.29.1593386599557; Sun, 28 Jun 2020 16:23:19 -0700 (PDT) Received: from gtx1060.flets-east.jp ([2409:11:53c0:1f00:b1e8:576a:9ea0:de64]) by smtp.gmail.com with ESMTPSA id k100sm10053889pjb.57.2020.06.28.16.23.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Jun 2020 16:23:19 -0700 (PDT) From: Masashi Honma To: hostap@lists.infradead.org Subject: [PATCH 1/7] tests: Fix mesh_secure_ocv_mix_legacy false negative by using common finalizer Date: Mon, 29 Jun 2020 08:23:01 +0900 Message-Id: <20200628232307.72125-1-masashi.honma@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Spam-Note: CRM114 invocation failed X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:1043 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [masashi.honma[at]gmail.com] -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain X-BeenThere: hostap@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Masashi Honma Sender: "Hostap" Errors-To: hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org mesh_secure_ocv_mix_legacy fails with this message. --------------- wlan0: Country code not reset back to 00: is AZ wlan0: Country code cleared back to 00 --------------- This patch fixes the issue. Signed-off-by: Masashi Honma --- tests/hwsim/test_wpas_mesh.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/hwsim/test_wpas_mesh.py b/tests/hwsim/test_wpas_mesh.py index 3c918184f..8298d482d 100644 --- a/tests/hwsim/test_wpas_mesh.py +++ b/tests/hwsim/test_wpas_mesh.py @@ -406,7 +406,7 @@ def set_reg(dev, country): def clear_reg_setting(dev): dev[0].request("MESH_GROUP_REMOVE " + dev[0].ifname) dev[1].request("MESH_GROUP_REMOVE " + dev[1].ifname) - subprocess.call(['iw', 'reg', 'set', '00']) + clear_regdom_dev(dev) dev[0].flush_scan_cache() dev[1].flush_scan_cache()