Changeset 9360 for trunk/Ohana/src/opihi/cmd.basic/test/math.sh
- Timestamp:
- Oct 6, 2006, 10:28:49 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/cmd.basic/test/math.sh (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/cmd.basic/test/math.sh
r9197 r9360 19 19 $i = `cat tmp.txt` 20 20 21 if ($i == 1) 22 $PASS = 1 23 else 21 if ($i != 1) 24 22 $PASS = 0 25 23 echo "i : $i" … … 45 43 $endmem = $word:1 46 44 47 if ({$endmem - $startmem} < 10) 48 $PASS = 1 49 else 45 if ({$endmem - $startmem} > 10) 50 46 $PASS = 0 51 47 echo "growth: {$endmem-$startmem}" … … 71 67 $endmem = $word:1 72 68 73 if ({$endmem - $startmem} < 10) 74 $PASS = 1 75 else 69 if ({$endmem - $startmem} > 10) 76 70 $PASS = 0 77 71 echo "growth: {$endmem-$startmem}" … … 97 91 $endmem = $word:1 98 92 99 if ({$endmem - $startmem} < 10) 100 $PASS = 1 101 else 93 if ({$endmem - $startmem} > 10) 102 94 $PASS = 0 103 95 echo "growth: {$endmem-$startmem}" … … 123 115 $endmem = $word:1 124 116 125 if ({$endmem - $startmem} < 10) 126 $PASS = 1 127 else 117 if ({$endmem - $startmem} > 10) 128 118 $PASS = 0 129 119 echo "growth: {$endmem-$startmem}"
Note:
See TracChangeset
for help on using the changeset viewer.
