[LTP] [PATCH 2/2] Optimise grep action in cpuset_syscall_test

Jan Stancek jstancek@redhat.com
Mon Nov 16 17:50:13 CET 2015





----- Original Message -----
> From: "Cyril Hrubis" <chrubis@suse.cz>
> To: "Jan Stancek" <jstancek@redhat.com>
> Cc: "Yuan Sun" <sunyuan3@huawei.com>, ltp@lists.linux.it
> Sent: Monday, 16 November, 2015 5:37:44 PM
> Subject: Re: [LTP] [PATCH 2/2] Optimise grep action in cpuset_syscall_test
> 
> Hi!
> > > +	task_policy=$(grep -e "  *stack  *anon" | \
> > > +			awk '{print $2}' $TEST_PROCNUMA)
> > 
> > Shouldn't this last one be:
> > +	task_policy=$(grep -e "  *stack  *anon" $TEST_PROCNUMA | \
> > +			awk '{print $2}')
> > 
> 
> Looks like an obvious typo to me. Can you please push fix?

This should be fixed already. Yuan sent v2, where he fixed this:

commit ca77742387f0bd4e42c39b1c70e5995be3433687
Author: Yuan Sun <sunyuan3@huawei.com>
Date:   Mon Nov 9 16:05:34 2015 +0800
    cpuset_syscall_test: simplify grep actions

Regards,
Jan

> 
> --
> Cyril Hrubis
> chrubis@suse.cz
> 


More information about the Ltp mailing list