Message ID | 1559798860-20371-3-git-send-email-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="G3SNXQPX"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="qUs4u/N7"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 45KDhl5dTtz9s3l for <incoming@patchwork.ozlabs.org>; Thu, 6 Jun 2019 15:28:23 +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=LIpByV3vbY5fnqeFYChRZXnTnTx0mLBm23m/P3L1O5Y=; b=G3SNXQPXjcpZIaPzQMgWwnj44R 3QTk1w/0mUSM9rKDaMPuUA1xHzNdxZgh4zTEbAGOxJ3hleN/T7p5Q5ZEEdH6mwXgcGfFxLKqdbpAO Pps5H+qmQ+0ct2dDeay5hyrT7jrTm6jLCeY4BgmqoSsKZpgPguT0Ahcdeb8A3FkIkSOiPJG40rrFg hC+6XFdKt7wY4pdUrIOApLKqi7DZJ3s6sSWEE+amahpQBYbm6TQVhbQ7hryqejuh0w8nj4+We9f7a dpe+0NPKZelyXfJ4FQklbiv/ZeEAXcVockzJeulysxgKZ5diygsmYHDFn0DFUTNb9YGTmUTJicEEy I8BCbOFg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hYkwl-0005Sh-Gz; Thu, 06 Jun 2019 05:28:19 +0000 Received: from mail-pg1-x543.google.com ([2607:f8b0:4864:20::543]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hYkwa-0005F4-NH for hostap@lists.infradead.org; Thu, 06 Jun 2019 05:28:09 +0000 Received: by mail-pg1-x543.google.com with SMTP id h17so679811pgv.0 for <hostap@lists.infradead.org>; Wed, 05 Jun 2019 22:28:08 -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=0pk7aUu9qQXLKmfvyySw8pkccG7BKQPBYJS+sZtHs0c=; b=qUs4u/N7Gycd3Gt/zM2+H+yCrGK0x7RkamBHveQ5Jgs0UJTvYvYJgGbaZSd4dtV0vK GPQHFVgNyCIsFYICHH1LV4MMiWAbPBfUjWpFFET+USgwCzkPtV+I5ezB7ODYQwv8EdmP VrpvKpZC0eFb1Ksh5qHsGZWQXDG86bDoj5REAn5WSVbnRo30uC+89ZYUm0HsjyUG2DLg kgsADKv006FKlo2VwmWH3xYItiRlzQRPEVWPLGnF0GiuWzwUwStH1cJJmwoH7jxadi8+ AQ2hLnWUMh1x2YEGg1WdzydFJb2oqdgg0vAlrvEnC0cf0HYtFTA8/0GCTwCaXBFkqrq8 pbpA== 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=0pk7aUu9qQXLKmfvyySw8pkccG7BKQPBYJS+sZtHs0c=; b=iIu2DryAE5m4fVQPaOAY3/kl6wHul8pwsM+FzqmuIUnZLl1VPY6IYPkZSbUcgBjHxC /k/j1hquaeINWXwg8kdRCrBVmop/anCcmmZXyLf8zTe9/5Z9HYxaAYM1bkolwHVzqbUQ dgDYdeVVR5dASbKowQO/R2MxUfdYXVP6WZVLDZ/CxtGINj6gBjAi5nP/MeCJgDlp2FOW gu500YvaNqkEJ8IaQlp1HvvxAigv/T0Mw06hSTzDH/FsDhHpM5ZgxU3uMcBTvUpqbLht Ing7Q4PIlE/uBL9wDUJOlAqXc+PqqNF2b63WSjkQAVYmAVJVkebmLGqsqo+EJWJqCJmM vICQ== X-Gm-Message-State: APjAAAUcmX1vGwhzVVIZOdOL29LWllqKTm0B4Hp4DK/7NzeuClJjLOD2 NnEJso0G4gFjxdDM2hsM3YDUKbKt X-Google-Smtp-Source: APXvYqwQVnoA9/JpepbQJ09S5wKk83vdWIgh0C5aSo0ro3EN14cIUjQasaGxq13mTynSM8+WX4rM8A== X-Received: by 2002:a17:90a:21cc:: with SMTP id q70mr21723484pjc.56.1559798887094; Wed, 05 Jun 2019 22:28:07 -0700 (PDT) Received: from corei7.flets-east.jp ([2409:11:321:2100:cc5:f3b1:fd0b:7577]) by smtp.gmail.com with ESMTPSA id ce3sm631638pjb.11.2019.06.05.22.28.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 05 Jun 2019 22:28:06 -0700 (PDT) From: Masashi Honma <masashi.honma@gmail.com> To: hostap@lists.infradead.org Subject: [PATCH 3/4] tests: Fix ap_vht_capab_not_supported false negative by using common finalizer Date: Thu, 6 Jun 2019 14:27:39 +0900 Message-Id: <1559798860-20371-3-git-send-email-masashi.honma@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1559798860-20371-1-git-send-email-masashi.honma@gmail.com> References: <1559798860-20371-1-git-send-email-masashi.honma@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190605_222808_754613_B1BA8A93 X-CRM114-Status: GOOD ( 12.07 ) 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:543 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (masashi.honma[at]gmail.com) -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 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: hostap@lists.infradead.org X-Mailman-Version: 2.1.21 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 |
[1/4] tests: Fix dfs_radar2 false negative by using common finalizer
|
expand
|
diff --git a/tests/hwsim/test_ap_vht.py b/tests/hwsim/test_ap_vht.py index 3baf55d..662d4da 100644 --- a/tests/hwsim/test_ap_vht.py +++ b/tests/hwsim/test_ap_vht.py @@ -356,8 +356,7 @@ def test_ap_vht_capab_not_supported(dev, apdev): if "OK" not in hapd.request("SET vht_capab [MAX-A-MPDU-LEN-EXP%d]" % i): raise Exception("Unexpected SET failure") finally: - subprocess.call(['iw', 'reg', 'set', '00']) - time.sleep(0.1) + clear_regdom(hapd, dev) def test_ap_vht160(dev, apdev): """VHT with 160 MHz channel width (1)"""
ap_vht_capab_not_supported 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_ap_vht.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)