IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 6, 2006, 10:28:49 AM (20 years ago)
Author:
eugene
Message:

updates to tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/cmd.basic/test/math.sh

    r9197 r9360  
    1919  $i = `cat tmp.txt`
    2020 
    21  if ($i == 1)
    22    $PASS = 1
    23  else
     21 if ($i != 1)
    2422   $PASS = 0
    2523   echo "i : $i"
     
    4543 $endmem = $word:1
    4644
    47  if ({$endmem - $startmem} < 10)
    48    $PASS = 1
    49  else
     45 if ({$endmem - $startmem} > 10)
    5046   $PASS = 0
    5147   echo "growth: {$endmem-$startmem}"
     
    7167 $endmem = $word:1
    7268
    73  if ({$endmem - $startmem} < 10)
    74    $PASS = 1
    75  else
     69 if ({$endmem - $startmem} > 10)
    7670   $PASS = 0
    7771   echo "growth: {$endmem-$startmem}"
     
    9791 $endmem = $word:1
    9892
    99  if ({$endmem - $startmem} < 10)
    100    $PASS = 1
    101  else
     93 if ({$endmem - $startmem} > 10)
    10294   $PASS = 0
    10395   echo "growth: {$endmem-$startmem}"
     
    123115 $endmem = $word:1
    124116
    125  if ({$endmem - $startmem} < 10)
    126    $PASS = 1
    127  else
     117 if ({$endmem - $startmem} > 10)
    128118   $PASS = 0
    129119   echo "growth: {$endmem-$startmem}"
Note: See TracChangeset for help on using the changeset viewer.