Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp2711373pxv; Sun, 11 Jul 2021 23:29:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzYmeYmgjaWsRHWE1bEcvCicni4CLe+5cDBdsgQC2cNksKFObB9B17+XAUkrq5SmPvBlfXA X-Received: by 2002:a17:906:6b1b:: with SMTP id q27mr50361113ejr.169.1626071384518; Sun, 11 Jul 2021 23:29:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626071384; cv=none; d=google.com; s=arc-20160816; b=odZu0eKqhejnSl0EXgrp482l3DoZ1qEIOM4z5mPI/QW9JkNbiTwtGG2pG4Vv6DwK/e GBWzGPJbAyyMw63hxcy6AoSzaX1MBH4EvP+/9jCP8WX7LP3wCvvXP/3b3m0SVXCrUy6Y lmpRUbGHCGgtsz7XXM2IKXj7GGOkuo7yAyy8wso4tzDNB8E+ILEAakGa1fi9inI2Tckm Xm8rSooyMaw5PtBTvS7TtFwDkKOqzglyoQFT8MtJOCNgv7rD9VAZVxcPfdnnxlUzKFum nOcEn7PZVh75lqLowLxQas70AZu45HXZHgFKzQtr0gZeoNToeswJkeFD4xQY6Orlfmpu RXpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=OIzYCVhjaGyMYNsWcGuu5xei5+VDg2X/IibdjE57aY0=; b=wkEoFg8g9nz8OUvCBpvEON/ZDfPuD4vMzU/yagFbijjXkrABFdW3XzYHBlCpEwkzbK ZvOBoFChCVZjTl0v+hj5Hl6TZ63VzE2WLxp7okQYSpkx9kFqgKuvGN2N1P3+PLESWFQU zy3RZcHMmsxsZfnOrL90GmJbWjlrGJlNHfuWYtxcwLXyrkxp7GInFsmUe3ZrBIG97Weu Ux/5oYmaeeIcR4FK+ZvTyAEmgLIpnPjzxo7884WiUYRHg3nIvoasXdFYm28yWS7RTelp KHDoYgcLJFoXiq027exve6R9NEioFqvQUivPGdYdGZGEelBIltEQM4Pk3KhKK6y//Ian vusg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=AaJ1aIcn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cx16si15752221edb.96.2021.07.11.23.29.21; Sun, 11 Jul 2021 23:29:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=AaJ1aIcn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236850AbhGLGaZ (ORCPT + 99 others); Mon, 12 Jul 2021 02:30:25 -0400 Received: from mail.kernel.org ([198.145.29.99]:48074 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235109AbhGLG0M (ORCPT ); Mon, 12 Jul 2021 02:26:12 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id EB7B561179; Mon, 12 Jul 2021 06:23:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1626070985; bh=bRID1WUDRBSGxPTH2JaoPg+8jnffbPLQFx/rjbCmz2c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AaJ1aIcngRZl/Bu6N71ELdMNNOzXL5nXyINf9dOGACfTiduU6RpWwTNbaRh+rBhJ6 wReY03xZygmJke3qLqA6Cy8cxHa7BRQgFJ7qPLUao1k6+VpIK6+LY7D0z1XEK9x3kH O2205pN2LkXjNijvPfU4lzpZfVctE/uXK0ZjFBb4= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Marcelo Ricardo Leitner , "David S. Miller" , Sasha Levin Subject: [PATCH 5.4 226/348] tc-testing: fix list handling Date: Mon, 12 Jul 2021 08:10:10 +0200 Message-Id: <20210712060732.034140648@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210712060659.886176320@linuxfoundation.org> References: <20210712060659.886176320@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Marcelo Ricardo Leitner [ Upstream commit b4fd096cbb871340be837491fa1795864a48b2d9 ] python lists don't have an 'add' method, but 'append'. Fixes: 14e5175e9e04 ("tc-testing: introduce scapyPlugin for basic traffic") Signed-off-by: Marcelo Ricardo Leitner Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- tools/testing/selftests/tc-testing/plugin-lib/scapyPlugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/tc-testing/plugin-lib/scapyPlugin.py b/tools/testing/selftests/tc-testing/plugin-lib/scapyPlugin.py index 229ee185b27e..a7b21658af9b 100644 --- a/tools/testing/selftests/tc-testing/plugin-lib/scapyPlugin.py +++ b/tools/testing/selftests/tc-testing/plugin-lib/scapyPlugin.py @@ -36,7 +36,7 @@ class SubPlugin(TdcPlugin): for k in scapy_keys: if k not in scapyinfo: keyfail = True - missing_keys.add(k) + missing_keys.append(k) if keyfail: print('{}: Scapy block present in the test, but is missing info:' .format(self.sub_class)) -- 2.30.2