Message ID | 20190625015109.6705-10-masashi.honma@gmail.com |
---|---|
State | Accepted |
Headers | show
Return-Path: <hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=<UNKNOWN>) 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.b="SzsgHZaO"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="Npcw6l1n"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (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 45Xq1X3Ywjz9sCJ for <incoming@patchwork.ozlabs.org>; Tue, 25 Jun 2019 11:53:04 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To: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:List-Owner; bh=p0GOQwgnPvBZ+wv/j15NH20KzXZboxSKSS1VWtgPIbA=; b=SzsgHZaO62UjWF4bHca5bxOLZP 0eNGoEJistT52Daxc4UEzkCrDfwaOfaK5/43EE0T97c0POIRPVRdrHp/T82sS2yxOvaaGCrTA+6T1 oIGJQF0/mEb90MAqqhMcwR950uR4P5DHlMdGSVbkAiR8pZ9oWJftyPwgoYDx9/N6vHLERfBlU2UJs mrl2FP46MFDoIQx3sRevT4YSkLwguMnbz7D8/1cg/4Idt1InzKxOQHjwdDmKm2xWW3ct6FRsowF0j 7iJpDK+7mBrkWEQoBfippIRv2FDmkP3zh4MGiClyhh9CFphc3GKS2g5NhozLzRbuc7QvgTepfcG5V /H9m9VAQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hfado-0000Pk-4C; Tue, 25 Jun 2019 01:53:00 +0000 Received: from mail-pg1-x541.google.com ([2607:f8b0:4864:20::541]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hfacR-0007MR-1P for hostap@lists.infradead.org; Tue, 25 Jun 2019 01:51:36 +0000 Received: by mail-pg1-x541.google.com with SMTP id f21so8084819pgi.3 for <hostap@lists.infradead.org>; Mon, 24 Jun 2019 18:51:34 -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:in-reply-to:references; bh=0yYUXgXKpiveQ+diTq1SqFxD7wAZ44H+1G8GNYwP7RU=; b=Npcw6l1nvpbKx0JbumIYpEu/Q0Ic2/hPHlIZWEtw3nR5uEARA6Yw/gp2ukMxAvFyYo 2XkipdIB8iW/8iLtGVnhMcMKHL3UsCirBNvUOjEGOULU8rZb/d8g80q6DWyTd9E2afPR 0i+rjTidt5bZCM3Hurvae6jTH2XfX40ucnzBJKhr0Qf/q/AstFCy9ZekSF+jVuVXxOvu oveUgjCxHY8xnRTkKJxYQg9Pd72vGBAdzFybH12cHPeisoyP3FO6Xyh8Wgn0qR8jAks2 Jmbn012+CkzFMOCkVhxXeblsDxmBHBV2hIKxZ7SOb+2fuU+BO5hIooTSXek0RvFhx5JZ mXaQ== 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:in-reply-to :references; bh=0yYUXgXKpiveQ+diTq1SqFxD7wAZ44H+1G8GNYwP7RU=; b=rR4pXnt8JHqow1efnS+owCfWb/wD4EGEBMPQO35cGgBtHb+a2PKkHSRr+7Mxc44RI0 ZWHP794zoAzoXDjkKJOOzF5kYh/ou2Fhmyd6nc5r4XpjnhoKoLFBlWXinB9H3KzhtTOu Uq95kn7Cipz3LNcA0lDBDQBFX7yQOAxdKHNzdkstGKhg4FFKUOufQbY1AsqmtEhDxE4G HxWtUKLD4prTLEIaEjU0cAZek/60t3rtEACNTiTELlVNO3AuGksPV0K0WcQW7Uf3zLey /s92xw4hV9jIwRFBnX2s72e5sdZt1wD6WJmA8QH532cszBaK7FxpdN3+Cs/Qd+VP5Mcc 0/mA== X-Gm-Message-State: APjAAAWOD9BvfD1tKp7z10KhfL4w8mG09+9qmr8d/KLCpdgJLXmIjREl qUs3gGTPytT0Ie9/um45DhFYUOcQ X-Google-Smtp-Source: APXvYqz56M8jGUmfR5DYqBuvvtEdaf6m7ekGOtKvkPRtz9SD7+bsw18uThiBRMeivOvUyAZpNPsQQg== X-Received: by 2002:a17:90a:228b:: with SMTP id s11mr27775468pjc.23.1561427493679; Mon, 24 Jun 2019 18:51:33 -0700 (PDT) Received: from gtx1600.flets-east.jp ([2409:11:321:2100:c417:b108:dc0e:cada]) by smtp.gmail.com with ESMTPSA id j64sm16013236pfb.126.2019.06.24.18.51.32 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 24 Jun 2019 18:51:33 -0700 (PDT) From: Masashi Honma <masashi.honma@gmail.com> To: hostap@lists.infradead.org Subject: [PATCH 10/32] tests: Fix rrm_beacon_req_table_vht false negative by using common finalizer Date: Tue, 25 Jun 2019 10:50:47 +0900 Message-Id: <20190625015109.6705-10-masashi.honma@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190625015109.6705-1-masashi.honma@gmail.com> References: <20190625015109.6705-1-masashi.honma@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190624_185135_128780_F4AD9BCB X-CRM114-Status: UNSURE ( 9.93 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.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:541 listed in] [list.dnswl.org] -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.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: hostap@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <hostap.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/hostap>, <mailto:hostap-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/hostap/> List-Post: <mailto:hostap@lists.infradead.org> List-Help: <mailto:hostap-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/hostap>, <mailto:hostap-request@lists.infradead.org?subject=subscribe> Cc: Masashi Honma <masashi.honma@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Hostap" <hostap-bounces@lists.infradead.org> Errors-To: hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org |
Series |
[01/32] tests: Fix nfc_wps_handover_chan14 false negative by using common finalizer
|
expand
|
diff --git a/tests/hwsim/test_rrm.py b/tests/hwsim/test_rrm.py index 1ac66fe23..9f2351544 100644 --- a/tests/hwsim/test_rrm.py +++ b/tests/hwsim/test_rrm.py @@ -17,6 +17,7 @@ import time import hostapd from wpasupplicant import WpaSupplicant from utils import HwsimSkip, alloc_fail, fail_test, wait_fail_trigger +from utils import disable_hapd, clear_regdom_dev from test_ap_ht import clear_scan_cache from remotehost import remote_compatible from test_ap_vht import vht_supported @@ -1253,11 +1254,9 @@ def test_rrm_beacon_req_table_vht(dev, apdev): raise HwsimSkip("80 MHz channel not supported in regulatory information") raise finally: - dev[0].request("DISCONNECT") - if hapd: - hapd.request("DISABLE") - subprocess.call(['iw', 'reg', 'set', '00']) - dev[0].flush_scan_cache() + disable_hapd(hapd) + disable_hapd(hapd2) + clear_regdom_dev(dev) @remote_compatible def test_rrm_beacon_req_active(dev, apdev):
rrm_beacon_req_table_vht fails with this message. --------------- wlan0: Country code not reset back to 00: is FI wlan0: Country code cleared back to 00 --------------- This patch fixes the issue. Signed-off-by: Masashi Honma <masashi.honma@gmail.com> --- tests/hwsim/test_rrm.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-)