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 <[email protected]> --- 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 -- 1.5.5.GIT ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
