Message ID | 72a086d8bfd94ec0bc438b00a9ebf4f5d6515f2c.1527805500.git.petrm@mellanox.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show
Return-Path: <linux-kselftest-owner@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 351E1602BF for <patchwork-linux-kselftest@patchwork.kernel.org>; Thu, 31 May 2018 22:38:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2074228EB0 for <patchwork-linux-kselftest@patchwork.kernel.org>; Thu, 31 May 2018 22:38:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 14FF328FDA; Thu, 31 May 2018 22:38:00 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AB90828EB0 for <patchwork-linux-kselftest@patchwork.kernel.org>; Thu, 31 May 2018 22:37:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750964AbeEaWhx (ORCPT <rfc822;patchwork-linux-kselftest@patchwork.kernel.org>); Thu, 31 May 2018 18:37:53 -0400 Received: from mail-eopbgr50087.outbound.protection.outlook.com ([40.107.5.87]:44787 "EHLO EUR03-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750861AbeEaWhu (ORCPT <rfc822; linux-kselftest@vger.kernel.org>); Thu, 31 May 2018 18:37:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=R2/yRTmA0SsJDpuFkPMjDkX7Hd7H+sVDcP6ZTXU0/GE=; b=NDCwbX6eEqrAB9TuTgosKtovCTkLzZsf1jOItaNBfMmzGSzlMdigA+/g4AtrHI+oAJWlPnFLw4cnKMxW6QYPbZi3xVrJeaYKCB+eyB+hU/wkpTYF5EIfi9AZxkzSb8Slit+v7RF7+Hf+4E01YR8atOo23gp+S3OcSYPFYAvGzC0= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=petrm@mellanox.com; Received: from t540p (89.176.83.59) by AM6PR05MB4183.eurprd05.prod.outlook.com (2603:10a6:209:40::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.797.11; Thu, 31 May 2018 22:37:47 +0000 From: Petr Machata <petrm@mellanox.com> To: netdev@vger.kernel.org, linux-kselftest@vger.kernel.org Cc: davem@davemloft.net, shuah@kernel.org, idosch@mellanox.com Subject: [PATCH net-next 1/2] selftests: forwarding: mirror_vlan: Uninstall trap In-Reply-To: <cover.1527805500.git.petrm@mellanox.com> References: <cover.1527805500.git.petrm@mellanox.com> Message-Id: <72a086d8bfd94ec0bc438b00a9ebf4f5d6515f2c.1527805500.git.petrm@mellanox.com> Date: Fri, 01 Jun 2018 00:37:44 +0200 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [89.176.83.59] X-ClientProxiedBy: CWLP265CA0095.GBRP265.PROD.OUTLOOK.COM (2603:10a6:401:50::35) To AM6PR05MB4183.eurprd05.prod.outlook.com (2603:10a6:209:40::28) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(48565401081)(2017052603328)(7153060)(7193020); SRVR:AM6PR05MB4183; X-Microsoft-Exchange-Diagnostics: 1; AM6PR05MB4183; 3:CVK0S34KdWml6SOFjFZfoWwTsaFLoqbSqBMDXv34ACE0VUD+qYHCOVVIKlvzRJjXXrWgCv5uMpQ5bPEm7BL3/oEIXn/dE+A9gynsaz2T9a1TM7wgx4f4qzq7UPEXeFFjoNoJgGjGPSVaG3kv8gdI6vIlIS6I5kkwfbokCX7ZewCipBSbfqITaoBOcrKeOpF1PqEz6M9uA3ZnE+cvaTcTGAc23teaZHYVj5URz3G8RNWsyL9a0A6qxpf74sRbCBYN; 25:RmckheKp8+EGZ8jcxTYF2HadznL25a2LvYX1BGSfoWj/CpiMKX6oxoVLxmfnQsALczqzAoeMDHVYQvFqI21KG2T9WU0+mB0Hrh3Oupu75FvOkngU795uKpSSpCZdzwzykyVECwTL6YpMPGqtTlmQ9+53e/Lns0c7j1nBc8t/eHzu/P4KWoOci5mQsLP1bt/6OLQynlIdZJDtniypGvoWni/FC702iHl2O5BKd22wn4iRJDQASeqD+YjYP2LoNq0OyU3VKchd9t6kqM+9S1O0T53k9W2b1uQmXBTxF8GGZt8q0GwiMPjptcJAK5hMpSEoRvL9AWuPVbw0tjqUhjgLtg==; 31:cCKdlr2899I5hojgfDs5dBWonw2q1o2p1rlWB+7DNxEe8uy00fuUw1hHqJD6RjE1OYCZGLYhA/VwQ7kUZGDHl+Ae6pyxVFbysO3B32DLX03cAAs/6dUjL4JdNQKiBHXtZjLqIz0HjEKOXyT/LRvOMFe8CbWNiiciju8KSebzT9MoHAsP3xMzhP2t30gS68K4opedRkRLGt60YrUNMxuRm5XMeUfxuWpD0Ol8SA/hnUA= X-MS-TrafficTypeDiagnostic: AM6PR05MB4183: X-Microsoft-Exchange-Diagnostics: 1; AM6PR05MB4183; 20:eGsqkoBhsIKaQ7VvABzLpiLKQIQKlAJR50dcXx8XGn2hNvrvHorZgW16d0tX5jnX1p+kY45tZQZREVrq2mznolgBtUbbw/Ux+O5yDN1WES512Nh/pGCQHPuFS+cBHF1yNXTLYK/MMYyRnqjXLg7PnX4eKt0bSLJsEGPfLoapIQMEb5Un8EKGGtuyQStn61vY69O/eIldVwE814TGcNe7g6jbgI4b9JDnCcS/Tj2oAn0AKi4gopChHRZnrpysdMBsiUWOVYOFaW5PvqmQa+h+WFPgDsQ2b4EImEHAEymYsQfND79/XExPh8EtFQk7nK1BLYQjnTeYgMl4gCitHEpIACyLMnvTmJFxsP0Fwt2KoaB9b8uKm4c5ycZGjGWZ6Cn1cKGtLRFDE1tv/qrvHDhdlf7EEVghQf5+Y7b4x5lLVqIp1YeVTZCRqqv6Y7F2FRB3jObtR/MK6nwNuPvE60Y/iWldaFBgA+1nZNQZ3Rwxr49Pu/3uzZUFtf/FuMdX66UA; 4:4YaFddplQUTr8/xtZTcHqt3LF45yDKt2R6E+ptZzl/kipZrJZgsVqN6RPAs9oVNhCnCdjYnJgAv2ywvlLzIGrIKExY+VZ3LDI87ZvJdboa27F585ScYDcjQt9AI/ZNcnU1sGF7uOmlt1gpPhZTrMaxeu49YOQU555C3ar4lE9SBDCOxd9rawVaGp9gV8eHI7qI+CEftajhJB5wsZ3y19COzyIqeAcIHmzrVvVUXlAbz2I7VDSR1G970rj5MFdU5AWg0250I7dIHPe2vQTrNJsw== X-Microsoft-Antispam-PRVS: <AM6PR05MB4183C6DA53C8F9A7B3DE4749DB630@AM6PR05MB4183.eurprd05.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(93001095)(10201501046)(3002001)(3231254)(944501410)(52105095)(6055026)(149027)(150027)(6041310)(20161123558120)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123562045)(6072148)(201708071742011)(7699016); SRVR:AM6PR05MB4183; BCL:0; PCL:0; RULEID:; SRVR:AM6PR05MB4183; X-Forefront-PRVS: 06891E23FB X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(346002)(376002)(396003)(39860400002)(366004)(39380400002)(189003)(199004)(50466002)(25786009)(7736002)(97736004)(47776003)(118296001)(68736007)(5660300001)(4326008)(16526019)(105586002)(478600001)(53936002)(446003)(2906002)(6666003)(48376002)(86362001)(36756003)(106356001)(76176011)(386003)(2616005)(476003)(52116002)(51416003)(6116002)(16586007)(956004)(11346002)(107886003)(6486002)(486006)(6496006)(58126008)(3846002)(8936002)(66066001)(52396003)(305945005)(81166006)(81156014)(8676002)(316002)(59450400001)(26005); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR05MB4183; H:t540p; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AM6PR05MB4183; 23:ZLXZb5whhGAyXe3gF4X8wkZm8LHrljyfluiHGbr8A?= =?us-ascii?Q?qUjmfHLEMxdCqtoYJFpqn2DsvZWw16CQw+Yvh9iHhhikJ3DChQ6ZciA2vse1?= =?us-ascii?Q?Rpz+qUEzSLRzOTtSnsOWZb+TkJDT4hu0bT3fyio0R71WfIXACjK+7SMfGhHw?= =?us-ascii?Q?H+nvCon+tu8T73AtOmzYgfNM8IKi9n9nl7YW2uFMHGKsaB6hEP9BqkHRShj+?= =?us-ascii?Q?bkU32X9xW4QzTCXfsGx6UIo+1RyDQ14+fnqnoWZNj+uh6a9uQx2He828+eeZ?= =?us-ascii?Q?IX+hxCQWZ6YCoyDcpD8xj7PpTKfQ3++1PrtazAmi8Jt40KbBPULMSUlhyK3F?= =?us-ascii?Q?0fK9O2QJaZJTXROi/QCzhRpwgqe+k+cmRFgauxexMbimfRTFuGPKiT6RsG0i?= =?us-ascii?Q?TrFt5GphpJqGFsWQngM0wTHIveoCgpq9mUmZXJ4MQbuVTcBuCj79YPr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B9KhnuZyPZEfzC75CcFmDteIEarZtWNqvdG9mZYZvw4UtLc3xz4sWA8Ou97PHbmWOWFaC+d3UEAlZCYo6c4RUCw/C4PkhazpzqC2rCez/BanrYPhXQRyKA5YIlQWHksKcLFEb4bjnhlzOpW+TOPHJ X-MS-Office365-Filtering-Correlation-Id: 5d35e637-177c-4271-a239-08d5c7472261 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 May 2018 22:37:47.2160 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5d35e637-177c-4271-a239-08d5c7472261 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR05MB4183 Sender: linux-kselftest-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kselftest.vger.kernel.org> X-Mailing-List: linux-kselftest@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/tools/testing/selftests/net/forwarding/mirror_vlan.sh b/tools/testing/selftests/net/forwarding/mirror_vlan.sh index 1e10520..c22e949 100755 --- a/tools/testing/selftests/net/forwarding/mirror_vlan.sh +++ b/tools/testing/selftests/net/forwarding/mirror_vlan.sh @@ -146,7 +146,7 @@ test_all() tests_run - trap_install $h3 ingress + trap_uninstall $h3 ingress slow_path_trap_uninstall $swp1 egress slow_path_trap_uninstall $swp1 ingress }
Instead of installing a trap before tests run and uninstalling it after they run, mirror_vlan.sh installs it twice due to a typo. Fix the typo. Signed-off-by: Petr Machata <petrm@mellanox.com> --- tools/testing/selftests/net/forwarding/mirror_vlan.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)