Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3632809imu; Mon, 28 Jan 2019 08:09:41 -0800 (PST) X-Google-Smtp-Source: ALg8bN6RpkWSC5+48qx9RYY/rnHb3gdcI3/s4JytP/C/LHNOYIy+BS3CJIVVYHSuzHIMXt/U1QQj X-Received: by 2002:a62:5182:: with SMTP id f124mr22636301pfb.238.1548691781305; Mon, 28 Jan 2019 08:09:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548691781; cv=none; d=google.com; s=arc-20160816; b=zawvh1RER7UNbGb4/M8pJjsY3OA34D6MJcrCvhhwcBS5hkALI259dm8jWD41kdR1RU K4NhK5E50PuH4Y2aQ2AmWWx8M4mJxnWDa8RM/2NglLxNqU6iUZy884F0zxLwi5P/iIvT QPvJgEyJsCMElgOHV4+ag14dFwMlIPQtxOpY4NQroHuBOAyzjZOtGcpUqgZB2R3lHKG0 1GWmGX7Anindy8syx9aNHiu7AMIIDJ8AHL8NGCIUs1y5KYLNmRu0I2v9PhYFM1Ijg3tF fYnBAnRohYaCdk2/y604ZCmt22y4LwZjIoe16TtvESzAKhiO3iqdK/GeBQ+MJBzh3B+7 1NRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=nQkQ3ke+QR3HfyOHowmx0s0cC1tCLLsm9hu0b3QM834=; b=YWWCdIXyomBx3xhp6PWUxPDhmsGZa4UxtC137kxp0/wALzRcKR+4qsoUffOIl/2/NB V4w/EuuDzZemRQnfOQYqE5D+xSObl+dCaFbRFhxoVvLGE1zwKmCvSYoPY8tneWEuksjW OU381YRovGAg8D3x8O28eL1w+x+h3LftQZqaSJGPLGu8aE8nZXZoZDc8IP636SY5d5BZ aNStHgWGHAnZjBvojj3t7arFt2KS7nnA9TIb+29AvxwKCZm+ajm4hFcsFCIuXJY6ELFB Wid/gPEYU+jxr4twGWLKWQV/CTgd5jRBH8gIBvK7MAQpROg81IqWJRhmc7p0Nj3Fu5ZB hPQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=fQdYgJ1g; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j5si34040654pfg.254.2019.01.28.08.09.25; Mon, 28 Jan 2019 08:09:41 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=fQdYgJ1g; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731666AbfA1QHL (ORCPT + 99 others); Mon, 28 Jan 2019 11:07:11 -0500 Received: from mail.kernel.org ([198.145.29.99]:57286 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731417AbfA1QHJ (ORCPT ); Mon, 28 Jan 2019 11:07:09 -0500 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 253F220989; Mon, 28 Jan 2019 16:07:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1548691628; bh=fVQ5DIuzHOS2HNojPvjxUh3IhkOeynudRGNkP9epqcI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fQdYgJ1g/vf6hAImV9XDnDTriA+8YNwgkQHapoq97l2GWvJdEhvIe2rckV9TQCY20 qBkS/V+8/7kj7i0bjC7uuix5J2V2CFsap6vnYA9l/u97zXPQwyiLF6azdPxFBBx1Be c39bx5y+01yUo3cqIKPjS4350LseCuHRr36MRx54= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Adrian Hunter , Jiri Olsa , Arnaldo Carvalho de Melo , Sasha Levin Subject: [PATCH AUTOSEL 4.19 165/258] perf test: Fix perf_event_attr test failure Date: Mon, 28 Jan 2019 10:57:51 -0500 Message-Id: <20190128155924.51521-165-sashal@kernel.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20190128155924.51521-1-sashal@kernel.org> References: <20190128155924.51521-1-sashal@kernel.org> MIME-Version: 1.0 X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Adrian Hunter [ Upstream commit 741dad88dde296999da30332157ca47f0543747d ] Fix inconsistent use of tabs and spaces error: # perf test 16 -v 16: Setup struct perf_event_attr : --- start --- test child forked, pid 20224 File "/usr/libexec/perf-core/tests/attr.py", line 119 log.warning("expected %s=%s, got %s" % (t, self[t], other[t])) ^ TabError: inconsistent use of tabs and spaces in indentation test child finished with -1 ---- end ---- Setup struct perf_event_attr: FAILED! Signed-off-by: Adrian Hunter Cc: Jiri Olsa Link: http://lkml.kernel.org/r/20181122140456.16817-1-adrian.hunter@intel.com Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: Sasha Levin --- tools/perf/tests/attr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/tests/attr.py b/tools/perf/tests/attr.py index ff9b60b99f52..44090a9a19f3 100644 --- a/tools/perf/tests/attr.py +++ b/tools/perf/tests/attr.py @@ -116,7 +116,7 @@ class Event(dict): if not self.has_key(t) or not other.has_key(t): continue if not data_equal(self[t], other[t]): - log.warning("expected %s=%s, got %s" % (t, self[t], other[t])) + log.warning("expected %s=%s, got %s" % (t, self[t], other[t])) # Test file description needs to have following sections: # [config] -- 2.19.1