Index: /trunk/Ohana/src/opihi/cmd.basic/test/math.sh
===================================================================
--- /trunk/Ohana/src/opihi/cmd.basic/test/math.sh	(revision 9359)
+++ /trunk/Ohana/src/opihi/cmd.basic/test/math.sh	(revision 9360)
@@ -19,7 +19,5 @@
   $i = `cat tmp.txt` 
  
- if ($i == 1)
-   $PASS = 1
- else
+ if ($i != 1)
    $PASS = 0
    echo "i : $i"
@@ -45,7 +43,5 @@
  $endmem = $word:1
 
- if ({$endmem - $startmem} < 10)
-   $PASS = 1
- else
+ if ({$endmem - $startmem} > 10)
    $PASS = 0
    echo "growth: {$endmem-$startmem}"
@@ -71,7 +67,5 @@
  $endmem = $word:1
 
- if ({$endmem - $startmem} < 10)
-   $PASS = 1
- else
+ if ({$endmem - $startmem} > 10)
    $PASS = 0
    echo "growth: {$endmem-$startmem}"
@@ -97,7 +91,5 @@
  $endmem = $word:1
 
- if ({$endmem - $startmem} < 10)
-   $PASS = 1
- else
+ if ({$endmem - $startmem} > 10)
    $PASS = 0
    echo "growth: {$endmem-$startmem}"
@@ -123,7 +115,5 @@
  $endmem = $word:1
 
- if ({$endmem - $startmem} < 10)
-   $PASS = 1
- else
+ if ({$endmem - $startmem} > 10)
    $PASS = 0
    echo "growth: {$endmem-$startmem}"
Index: /trunk/Ohana/src/opihi/test/tests.sh
===================================================================
--- /trunk/Ohana/src/opihi/test/tests.sh	(revision 9359)
+++ /trunk/Ohana/src/opihi/test/tests.sh	(revision 9360)
@@ -75,4 +75,5 @@
       echo "   running $tests:$Tk"
     end
+    $PASS = 1
     $tests:$Tk
     if ($PASS == 0)
@@ -93,2 +94,7 @@
   end
 end
+
+echo "USAGE:"
+echo "runtests (script.sh)"
+echo "runtestdir (testdir)"
+echo "set VERBOSE to 0 through 3"
