1) numademo does not accept a 'msize' argument. I think it was an initial
typo mistake that numanode was invoked as
  numanode -c msize
instead of
  numanode -c ${msize}k

2) I think test07 should return TPASS if $x is 0 (not 1), because this test
verifies that after execution of `numanode` the OS updates interleave_hit
values of each of the nodes. And if a node doesn't get a minimum increase,
then it's a failure.

Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmansk...@oracle.com>
---

Just updated description 2)

 testcases/kernel/numa/numa01.sh |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/testcases/kernel/numa/numa01.sh b/testcases/kernel/numa/numa01.sh
index 19a8f71..5812ca3 100755
--- a/testcases/kernel/numa/numa01.sh
+++ b/testcases/kernel/numa/numa01.sh
@@ -577,7 +577,7 @@ test07()
         COUNTER=$[$COUNTER+1]
     done
 
-    numademo -c msize > $LTPTMP/demolog
+    numademo -c ${msize}k > $LTPTMP/demolog
     sleep 2s        #In RHEL collection of statistics takes more time.
 
     numastat > $LTPTMP/numalog
@@ -596,7 +596,7 @@ test07()
         fi
         COUNTER=$[$COUNTER+1]
     done
-    if [ $x -eq 1 ]
+    if [ $x -eq 0 ]
     then
         tst_resm TPASS "NUMADEMO policies  -TEST07 PASSED !!"
         return 0
-- 
1.7.1


------------------------------------------------------------------------------
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to