From: Subrata M. <su...@li...> - 2008-12-12 15:22:17
|
On Fri, 2008-12-12 at 15:37 +0100, Gilles Carry wrote: > The test fails while running command "numa_node_size" which is unknown to my system. > This patch replaces numa_node_size by "numactl --hardware". > > Signed-off-by: Gilles Carry <gil...@bu...> Thanks. Regards-- Subrata > --- > testcases/kernel/numa/numa01.sh | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > mode change 100644 => 100755 testcases/kernel/numa/numa01.sh > > diff --git a/testcases/kernel/numa/numa01.sh b/testcases/kernel/numa/numa01.sh > old mode 100644 > new mode 100755 > index 767f283..419d0b2 > --- a/testcases/kernel/numa/numa01.sh > +++ b/testcases/kernel/numa/numa01.sh > @@ -765,7 +765,7 @@ test09() > # Increase in numastat o/p is interms of pages > Exp_incr=$[$MB/$page_size] > > - numa_node_size > $LTPTMP/avail_nodes > + numactl --hardware > $LTPTMP/avail_nodes > RC=$(awk '{ if ( NR == 1 ) {print $1;} }' $LTPTMP/avail_nodes) > if [ $RC = "available:" ] > then |