Re: [LTP] [PATCH] cpuhotplug_hotplug.sh: fix the return of cpu number

2015-09-08 Thread Guangwen Feng
Hi! Thanks for your reply! I will rewrite the codes according to your suggestion. On 2015/09/08 01:19, Cyril Hrubis wrote: > Hi! >> diff --git >> a/testcases/kernel/hotplug/cpu_hotplug/include/cpuhotplug_hotplug.sh >> b/testcases/kernel/hotplug/cpu_hotplug/include/cpuhotplug_hotplug.sh >>

Re: [LTP] [PATCH] cpuhotplug_hotplug.sh: fix the return of cpu number

2015-09-07 Thread Cyril Hrubis
Hi! > diff --git > a/testcases/kernel/hotplug/cpu_hotplug/include/cpuhotplug_hotplug.sh > b/testcases/kernel/hotplug/cpu_hotplug/include/cpuhotplug_hotplug.sh > index 6920393..be8bce2 100644 > --- a/testcases/kernel/hotplug/cpu_hotplug/include/cpuhotplug_hotplug.sh > +++

Re: [LTP] [PATCH] cpuhotplug_hotplug.sh: fix the return of cpu number

2015-09-04 Thread Guangwen Feng
Hello! ping. Best Regards, Guangwen Feng On 2015/08/24 18:04, Guangwen Feng wrote: > In shell, function's return value can not exceed 255, if we run > the test on machines which have more than 255 cpus, the result > will be incorrect, so fix that by using global variable instead. > >