All of lore.kernel.org
 help / color / mirror / Atom feed
From: Xiao Yang <yangx.jy@cn.fujitsu.com>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH] memcg_lib.sh: cosmetic fix for orig_memory_use_hierarchy variable
Date: Wed, 24 May 2017 17:38:09 +0800	[thread overview]
Message-ID: <59255481.3020100@cn.fujitsu.com> (raw)
In-Reply-To: <1493344361-3181-1-git-send-email-yangx.jy@cn.fujitsu.com>

Hi

Ping :-)

Thanks,
Xiao Yang
On 2017/04/28 9:52, Xiao Yang wrote:
> Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com>
> ---
>  testcases/kernel/controllers/memcg/functional/memcg_lib.sh | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/testcases/kernel/controllers/memcg/functional/memcg_lib.sh b/testcases/kernel/controllers/memcg/functional/memcg_lib.sh
> index b785fe3..d4724c3 100755
> --- a/testcases/kernel/controllers/memcg/functional/memcg_lib.sh
> +++ b/testcases/kernel/controllers/memcg/functional/memcg_lib.sh
> @@ -506,7 +506,7 @@ setup_test()
>  	# while there are distributions (RHEL7U0Beta for example) that sets
>  	# it to 1.
>  	orig_memory_use_hierarchy=$(cat /dev/memcg/memory.use_hierarchy)
> -	if [ -z "orig_memory_use_hierarchy" ];then
> +	if [ -z "$orig_memory_use_hierarchy" ];then
>  		tst_resm TINFO "cat /dev/memcg/memory.use_hierarchy failed"
>  	elif [ "$orig_memory_use_hierarchy" = "0" ];then
>  		orig_memory_use_hierarchy=""




  reply	other threads:[~2017-05-24  9:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-28  1:52 [LTP] [PATCH] memcg_lib.sh: cosmetic fix for orig_memory_use_hierarchy variable Xiao Yang
2017-05-24  9:38 ` Xiao Yang [this message]
2017-05-30 14:03 ` Cyril Hrubis

Reply instructions:

You may reply publicly 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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to=59255481.3020100@cn.fujitsu.com \
    --to=yangx.jy@cn.fujitsu.com \
    --cc=ltp@lists.linux.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.