Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp877499pxb; Thu, 5 Nov 2020 15:50:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJw29INHZehNbo3HQMDIVgkpTL1dfdHK0MDDPSStW9M9N/6x/huJkjmnmSfGWmTWjGs7GUvM X-Received: by 2002:a17:906:8812:: with SMTP id zh18mr4589480ejb.361.1604620200343; Thu, 05 Nov 2020 15:50:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604620200; cv=none; d=google.com; s=arc-20160816; b=hlk8kgPUtTpbr5iGpfGs6Hu9EA5dZk8xcJU1LI3kkgLlzX+SWYmviaNXhTMWEf2NNj GSD9+E0/a6i+FFQfUfVnnWolBoM3XZsfsjGAcPHEbsS2Afuu0DSciFqekJ2Qad44POmD kJgizohLda1Lb7SDql33cHw3srhcd+GfoPovgjtr1/+UTrsSgv7WFK1jW43IR0RM5Kcc Fm+S/suu8lYy8LBJyflhtUtdjKFBjqTndhPgwOq+3syPA7UojxDMVrRR4/DIZY4yCWEr Ae+mV8+kXeW0rEze2mkewD5EzjQxnK9sA1Ap27sHRisxMSdHdyKr+HPTvS+N5v9NvivB vWPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=q+K71YH23G1Gf3lru5F9sr0lKpfenIIyCPmsayLGgE0=; b=Sv84n+HIIRwQqxzV7u2NHPPY9SvJPLcsgGroAAGltpeIIvQTtjk+vqJ/0+ThuDNDKp G2K9NR5EmEsV6ht75CQq49IcfP1/B7+mJP0KTeLMtWkfxDcFBL5UosPWIC1Tpj9QwUpU ryZpgeXbx6PjJkfdFLgHSZ7QGSGapvPNbw3N/aDxPLQaHq8rSqfGbOWsKKZymuYoskuu iy6F+V9sBvEolxbOB8zsPs8C+TmjgUQDuxq6Pux078guo4wTQ2WJxrc49lCbO11hbsqh 8h0EsccK59HpswIHe1lpZC8A6Gh4o1olUswpR26OHCovQcPZ0G0bLjb6yQa0W4bkTah8 rSmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Qx5JFlxQ; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v14si2534656edi.485.2020.11.05.15.49.38; Thu, 05 Nov 2020 15:50:00 -0800 (PST) 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=@kernel.org header.s=default header.b=Qx5JFlxQ; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733015AbgKEXrw (ORCPT + 99 others); Thu, 5 Nov 2020 18:47:52 -0500 Received: from mail.kernel.org ([198.145.29.99]:45930 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732814AbgKEXrc (ORCPT ); Thu, 5 Nov 2020 18:47:32 -0500 Received: from paulmck-ThinkPad-P72.home (50-39-104-11.bvtn.or.frontiernet.net [50.39.104.11]) (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 E70972224F; Thu, 5 Nov 2020 23:47:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604620052; bh=lLGfA2SCpZe6xMhECsAnbj+bQlSrzmGYITVjdGbCa7A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Qx5JFlxQjKr7Tn1BV/i+myy/BZ5YdFT5k5u3mZtv2BLm4NNQh7xNR30tMglHBW7Px /W0tTnHBZnSJPeGOJiDLeK9ov5U+Lw1O6R8mxEhBOIv5VgaaxEIiY2gChwGDjgHK+D 4uyrWFgt58ulIodqqf0GEMp/Ekz9897EXr3W6LuA= From: paulmck@kernel.org To: rcu@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel-team@fb.com, mingo@kernel.org, jiangshanlai@gmail.com, akpm@linux-foundation.org, mathieu.desnoyers@efficios.com, josh@joshtriplett.org, tglx@linutronix.de, peterz@infradead.org, rostedt@goodmis.org, dhowells@redhat.com, edumazet@google.com, fweisbec@gmail.com, oleg@redhat.com, joel@joelfernandes.org, Anna-Maria Behnsen , "Paul E . McKenney" Subject: [PATCH tip/core/rcu 28/28] tools/rcutorture: Fix BUG parsing of console.log Date: Thu, 5 Nov 2020 15:47:19 -0800 Message-Id: <20201105234719.23307-28-paulmck@kernel.org> X-Mailer: git-send-email 2.9.5 In-Reply-To: <20201105234658.GA23142@paulmck-ThinkPad-P72> References: <20201105234658.GA23142@paulmck-ThinkPad-P72> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Anna-Maria Behnsen For the rcutorture test summary log file console.log of virtual machines is parsed. When a console.log contains "DEBUG", BUG counter is incremented because regular expression does not handle to ignore DEBUG. Signed-off-by: Anna-Maria Behnsen Reviewed-by: Benedikt Spranger Signed-off-by: Paul E. McKenney --- tools/testing/selftests/rcutorture/bin/parse-console.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/rcutorture/bin/parse-console.sh b/tools/testing/selftests/rcutorture/bin/parse-console.sh index e033380..263b1be 100755 --- a/tools/testing/selftests/rcutorture/bin/parse-console.sh +++ b/tools/testing/selftests/rcutorture/bin/parse-console.sh @@ -133,7 +133,7 @@ then then summary="$summary Warnings: $n_warn" fi - n_bugs=`egrep -c 'BUG|Oops:' $file` + n_bugs=`egrep -c '\bBUG|Oops:' $file` if test "$n_bugs" -ne 0 then summary="$summary Bugs: $n_bugs" -- 2.9.5