Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp845986ybj; Thu, 7 May 2020 08:55:52 -0700 (PDT) X-Google-Smtp-Source: APiQypLiPm1XogTvqdqYghjRYP0uShZ/UpRMpFPzzfjwNzBE6uBfBQ1DNs81La6uqAbT7to0vSeJ X-Received: by 2002:a05:6402:2076:: with SMTP id bd22mr12889145edb.334.1588866952366; Thu, 07 May 2020 08:55:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588866952; cv=none; d=google.com; s=arc-20160816; b=wo/ZN3axsAWr10RnRhmzkzC/2PTOFFN5zL3N5MfSCpFUrxT57xEAb/tst1d+eqzsuz d9SKeArLhedAbNquCcXbFU4MLkWdRdwmWcUkhmO0cNlNx3NXuIRbawqYFVNzu1xtjpLu 2YDJmFbAI9kXsbo7vTkhjVbeb71qb95rhsLQZQUMZ9QUA0Nu4vYmqwgReP06VM2rsnil 67fbViycfjDP5dhHgMe18Qz2cH+FoV8bFyMqeIxvBuzQCebsgCTwIf/RpqDrN9kN9A63 4M4hLN3Sy8f1krUDx312h8ImwA9NAkyxJZoVsUiza0ypPZUC1wc+nHt+Vo7juEbt1m8f EWig== 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:subject:cc:to:from:date :dkim-signature; bh=qGf++2WPDKJgtvQgGVAdPJvld3QlBDHINXSeRCoQB1I=; b=vkfO1LoSa65uImgJHI7Euo6iV9j/zONQuxOY3MJEg8fiLSNe9yeWcuXz2S84+3F7ow e+4UHy5rI7zIWannLXiV9QweVpd5nX6X3j9vwk22N1y5aU/tWNh0Vo8uqumMUSRCWDRV 7Lw3iuw7sPn9xcIcqoTPeUiUmQiwVcwrdrMp1dnuRB/DBR1pZ1cdLdV4NqU7u0Ynd11U ijQBYhtMETHgvvM2EeFNYFH41uPP72ePSwjWmIDeD1dYLeZMc0BG3A6MR1QLphLA4R6i DCcX+mGthuCcFJ6BOyIaZUyHX829G9rsbon6sy5YtohlzCvxCLQO3mhi4cmhXJutekG2 OSGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=XkWD3pD6; 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 u8si3191204eds.295.2020.05.07.08.55.27; Thu, 07 May 2020 08:55:52 -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=@kernel.org header.s=default header.b=XkWD3pD6; 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 S1727887AbgEGPwH (ORCPT + 99 others); Thu, 7 May 2020 11:52:07 -0400 Received: from mail.kernel.org ([198.145.29.99]:38956 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727794AbgEGPwH (ORCPT ); Thu, 7 May 2020 11:52:07 -0400 Received: from devnote2 (NE2965lan1.rev.em-net.ne.jp [210.141.244.193]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8681420659; Thu, 7 May 2020 15:52:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1588866726; bh=mlvS0oh7kj4TmZBTpYgoFJD7r3X4hwbv2okMwAawp8I=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=XkWD3pD6+MGrhYvmBVy2mHoVgjB6msb46prlZvstna19R2ybX869eo1ERqXuivXwd zE5Qj+x3t5lDsUi7VxW9JIQsbm5T2nQcOS8aExAUo2V4ChD04HuX0TPksr+uZBVexx 7VKSFUhrDhoTldio0yZauOv2oKPki7TUI8bFsh2A= Date: Fri, 8 May 2020 00:52:02 +0900 From: Masami Hiramatsu To: Andreas Schwab Cc: Shuah Khan , Steven Rostedt , linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Tom Zanussi , Li Philip , Liu Yiding Subject: Re: [PATCH 3/3] selftests/ftrace: Use /bin/echo instead of built-in echo Message-Id: <20200508005202.fb39efc3fae84924878f36f4@kernel.org> In-Reply-To: <87eerwkskr.fsf@igel.home> References: <158834025077.28357.15141584656220094821.stgit@devnote2> <158834028054.28357.398159034694277189.stgit@devnote2> <87eerwkskr.fsf@igel.home> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.32; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 07 May 2020 11:22:28 +0200 Andreas Schwab wrote: > On Mai 01 2020, Masami Hiramatsu wrote: > > > Since the built-in echo has different behavior in POSIX shell > > (dash) and bash, we forcibly use /bin/echo -E (not interpret > > backslash escapes) by default. > > How about using printf instead (at least where it matters)? Hmm, I think replacing all echos with printf in the testcase might be much harder than this... Thank you, -- Masami Hiramatsu