From patchwork Tue Jun 25 01:51:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masashi Honma X-Patchwork-Id: 1121724 Return-Path: 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=) 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="m2rmcgpE"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="qBhZn38G"; 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 45Xq5p5MrHz9s7h for ; Tue, 25 Jun 2019 11:56:46 +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=ztQO6x+VCiNeEJcwOoUJHvxo28naoWCWGKgq4dB2TV0=; b=m2rmcgpEMbMHb5wQQ/Ix5qhpiW B6cTdpMMJJZzGg9To3sEGjKyoz+/8GDid5RoXqCcw1ybMfc8h5n429Mrg7SF49GnozJET3GncTDTJ TzRMBj8kDvtMo/r4Gj/2/WiYwsg/i6AgM9wsXuYsoFF26K0LKo+4zBsX2QgAvj5HEOGUPsM4gvjDU HCHVEnSszaOztlPpUrQ2y0FLBUPyZMU25FBHmZoqI2s2pQYU1qmr3NRrBERJsMdfW9HhPzBVKqwRr 8GR1UMQoRjDriqH/WzBBIhZxXHvCzDlby9W8YwtojG2PJXMmIQIjYDMPq2YL71sS3nu+UGO/YHuxR ArGr5zrQ==; 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 1hfahO-0005U0-RL; Tue, 25 Jun 2019 01:56:42 +0000 Received: from mail-pl1-x641.google.com ([2607:f8b0:4864:20::641]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hfacx-0007wI-3K for hostap@lists.infradead.org; Tue, 25 Jun 2019 01:52:08 +0000 Received: by mail-pl1-x641.google.com with SMTP id e5so7891699pls.13 for ; Mon, 24 Jun 2019 18:52:06 -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=MUlEnWGUykygcDr43RX8c1OT2OEGk/fPPBWv93B++yk=; b=qBhZn38G/83ab4PzD9mVQAK3p5o1R+vbdQiyw/U1/buPfltwcselVBN730IfWypPc5 vSbPp239jQv55ekeAY0YIKRfjiMsg0qlBig0iVEwf6yTlG9kLT1oxOgLFSgbKSE2NeR4 KRmpu5MCQyJ95JNZT3BfGpGg9zHdJA5HPmpD73Hu6cSIB2qHJhE7WckPBik2RnrAJy60 JugwfBWn4o58X/OCeETjk6wkehZsQQuOdVPuH7RFLsFWkHWBQNKMDZkwhRnAEx6Bywux d6ebPbF34WGcC4uTyA5jfUYleNiRQUsOBHWwn4GFSdXlMziAlLn7dd6IK5Lztg3+lGR3 ZsDQ== 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=MUlEnWGUykygcDr43RX8c1OT2OEGk/fPPBWv93B++yk=; b=GY+jRj1UfDFXuPYlLL6jIgajhTMnEL0o64WWsgpEYsqJUjlmtUuk6iTiewcwv/xrgh SqS1V8sWQezj2uT2m6mFuT9VTQeKkKrhDk5nY5fA0OqTZDw3AEbjQKYpN+9dUX8gKZRK 3gJU9J8DI8xmSBXRNawNhYDx/wIYhzU7ZcTyq1fUUfJAVhpu9+7uascXKNj78i7bF7xO 9GYBKkqpJBtCp+so98Cqt2sVSDVI6XjuhzzMdCHy7Gr4paNaGuPRxInnSNBZh5ZABH7L vQObTwd7m6wX+mN+4JMbBtdceA/5NAHUgep+sFyneZxl3EkXvTh1xyNW/oDIP5S5b4VU NM6A== X-Gm-Message-State: APjAAAXBGPikmty0oLdpzulXiQqWck7HXnrrBtAZtHsc8ISVQKFGYs4H O+Ng0BHkoqvW1llNQGch/ZVkJphO X-Google-Smtp-Source: APXvYqwbiYtF/W0DLmtPlSC4d35xOULh/E0aGBzcGZ32o6fTzFHFESH/cF8nU72oaSJxYz/3YRGbTw== X-Received: by 2002:a17:902:8a8a:: with SMTP id p10mr69660326plo.88.1561427525914; Mon, 24 Jun 2019 18:52:05 -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.52.04 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 24 Jun 2019 18:52:05 -0700 (PDT) From: Masashi Honma To: hostap@lists.infradead.org Subject: [PATCH 31/32] tests: Fix p2p_go_move_scm_peer_does_not_support false negative by using common finalizer Date: Tue, 25 Jun 2019 10:51:08 +0900 Message-Id: <20190625015109.6705-31-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_185207_167345_3755A4AE X-CRM114-Status: GOOD ( 10.90 ) 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:641 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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Masashi Honma MIME-Version: 1.0 Sender: "Hostap" Errors-To: hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org p2p_go_move_scm_peer_does_not_support fails with this message. --------------- wlan0: Country code not reset back to 00: is US wlan0: Country code cleared back to 00 --------------- This patch fixes the issue. Signed-off-by: Masashi Honma --- tests/hwsim/test_p2p_channel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/hwsim/test_p2p_channel.py b/tests/hwsim/test_p2p_channel.py index beee61d63..ad1d712d6 100644 --- a/tests/hwsim/test_p2p_channel.py +++ b/tests/hwsim/test_p2p_channel.py @@ -996,7 +996,7 @@ def _test_p2p_go_move_scm_peer_does_not_support(dev, apdev): finally: dev[0].global_request("SET p2p_go_freq_change_policy 2") dev[1].request("DRIVER_EVENT AVOID_FREQUENCIES") - set_country("00") + clear_regdom_dev(dev, 2) def test_p2p_go_move_scm_multi(dev, apdev): """P2P GO move due to SCM operation preference multiple times"""