FSTests Archive on lore.kernel.org
 help / color / Atom feed
From: Kusanagi Kouichi <slash@ac.auone-net.jp>
To: fstests@vger.kernel.org
Subject: [PATCH] common/rc: Prevent _scale_fsstress_args from consuming -n
Date: Tue, 3 Dec 2019 21:10:47 +0900
Message-ID: <20191203121047394.YXCJ.12796.ppp.dion.ne.jp@dmta0009.auone-net.jp> (raw)

If first argument is -n, echo consumes it.

Signed-off-by: Kusanagi Kouichi <slash@ac.auone-net.jp>
 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()
-    echo $args
+    printf '%s\n' "$args"

                 reply index

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publically to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191203121047394.YXCJ.12796.ppp.dion.ne.jp@dmta0009.auone-net.jp \
    --to=slash@ac.auone-net.jp \
    --cc=fstests@vger.kernel.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

FSTests Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/fstests/0 fstests/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 fstests fstests/ https://lore.kernel.org/fstests \
	public-inbox-index fstests

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git