From patchwork Mon Jun 1 14:42:13 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Masami Hiramatsu (Google)" X-Patchwork-Id: 11582163 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A0A6C90 for ; Mon, 1 Jun 2020 14:42:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8872E207FB for ; Mon, 1 Jun 2020 14:42:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1591022538; bh=wgdgPuQe/ZbIcgjxoPiBytv1s+ief8lnvsmb9CloUEM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=COgqS7QckxuoQFSK9dAbo7TS+gGxvmzUuuNw77uKKXKMhyc+9u32mHER36vC6sxaN JmQ0ceTGyScVAEDdCDB/f2q1TFe8nPa0i0bmauPGyhFWGi8IO8Sbr5Gcg602K9/nuY k3HKyllEPn4FXgDP6q0IRSQtObWrt67O2rj1rbOE= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726124AbgFAOmS (ORCPT ); Mon, 1 Jun 2020 10:42:18 -0400 Received: from mail.kernel.org ([198.145.29.99]:50138 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726110AbgFAOmR (ORCPT ); Mon, 1 Jun 2020 10:42:17 -0400 Received: from localhost.localdomain (NE2965lan1.rev.em-net.ne.jp [210.141.244.193]) (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 451ED207BC; Mon, 1 Jun 2020 14:42:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1591022537; bh=wgdgPuQe/ZbIcgjxoPiBytv1s+ief8lnvsmb9CloUEM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ROi8syQQdUzXIgbOGra96XZ7mil1v95cx7PUjY/ba1x3QCIp4nKA4K3StH66voKvc /2j1tOxP8fzcLnr116fweacTbfLBK0+AK/bfCcfvQAcKuss7BIrYQ82EWX/Ih+uKvp A4VW0d8ewx6G2Kg2RYfsxOD2xlAKzR6/cd/oE9Ls= From: Masami Hiramatsu To: Shuah Khan , Steven Rostedt Cc: linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Shuah Khan , Tom Zanussi , Masami Hiramatsu Subject: [PATCH 1/7] selftests/ftrace: Allow ":" in description Date: Mon, 1 Jun 2020 23:42:13 +0900 Message-Id: <159102253287.31199.5076697475734185273.stgit@devnote2> X-Mailer: git-send-email 2.25.1 In-Reply-To: <159102252279.31199.12855129586058455119.stgit@devnote2> References: <159102252279.31199.12855129586058455119.stgit@devnote2> User-Agent: StGit/0.19 MIME-Version: 1.0 Sender: linux-kselftest-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org Allow ":" in the description line. Currently if there is ":" in the test description line, the description is cut at that point, but that was unintended. Signed-off-by: Masami Hiramatsu --- tools/testing/selftests/ftrace/ftracetest | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/ftrace/ftracetest b/tools/testing/selftests/ftrace/ftracetest index a4605b5ee66d..d3f6652311ef 100755 --- a/tools/testing/selftests/ftrace/ftracetest +++ b/tools/testing/selftests/ftrace/ftracetest @@ -263,7 +263,7 @@ CASENO=0 testcase() { # testfile CASENO=$((CASENO+1)) - desc=`grep "^#[ \t]*description:" $1 | cut -f2 -d:` + desc=`grep "^#[ \t]*description:" $1 | cut -f2- -d:` prlog -n "[$CASENO]$INSTANCE$desc" }