From patchwork Tue Dec 3 12:10:47 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kusanagi Kouichi X-Patchwork-Id: 11271123 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 1B780112B for ; Tue, 3 Dec 2019 12:10:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 030862073B for ; Tue, 3 Dec 2019 12:10:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726186AbfLCMKt (ORCPT ); Tue, 3 Dec 2019 07:10:49 -0500 Received: from snd00009.auone-net.jp ([111.86.247.9]:3939 "EHLO dmta0009.auone-net.jp" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726182AbfLCMKt (ORCPT ); Tue, 3 Dec 2019 07:10:49 -0500 Received: from ppp.dion.ne.jp by dmta0009.auone-net.jp with ESMTP id <20191203121047394.YXCJ.12796.ppp.dion.ne.jp@dmta0009.auone-net.jp> for ; Tue, 3 Dec 2019 21:10:47 +0900 Date: Tue, 3 Dec 2019 21:10:47 +0900 From: Kusanagi Kouichi To: fstests@vger.kernel.org Subject: [PATCH] common/rc: Prevent _scale_fsstress_args from consuming -n MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.12.2 (2019-09-21) Message-Id: <20191203121047394.YXCJ.12796.ppp.dion.ne.jp@dmta0009.auone-net.jp> Sender: fstests-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org If first argument is -n, echo consumes it. Signed-off-by: Kusanagi Kouichi --- common/rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/rc b/common/rc index 6943f19f..7b954860 100644 --- a/common/rc +++ b/common/rc @@ -3433,7 +3433,7 @@ _scale_fsstress_args() esac shift done - echo $args + printf '%s\n' "$args" } #