OSSP CVS Repository

ossp - Check-in [4188]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 4188
Date: 2001-Jul-09 19:50:58 (local)
2001-Jul-09 17:50:58 (UTC)
User:simons
Branch:
Comment: Enhanced portability.
Tickets:
Inspections:
Files:
ossp-pkg/xds/regression-tests/.run-tests      1.4 -> 1.5     5 inserted, 5 deleted

ossp-pkg/xds/regression-tests/.run-tests 1.4 -> 1.5

--- .run-tests   2001/07/08 15:57:27     1.4
+++ .run-tests   2001/07/09 17:50:58     1.5
@@ -14,24 +14,24 @@
 for suite in $*; do
     tmp="${suite%%.exe}"
     echo -n "$tmp"
-    currpos=$(($RESCOLUMN-${#tmp}))
+    currpos=`expr $RESCOLUMN - ${#tmp}`
     while [ $currpos -gt 1 ]; do
         echo -n "."
-        currpos=$(($currpos-1))
+        currpos=`expr $currpos - 1`
     done
     echo -n " "
-    numTests=$(($numTests+1))
+    numTests=`expr $numTests + 1`
     eval ./$suite >${suite%%.exe}.log 2>&1
     if [ $? -eq 0 ]; then
         echo OK
     else
-        numFails=$(($numFails+1))
+        numFails=`expr $numFails + 1`
         echo FAILED
     fi
 done
 
 echo
-if [ $numFails -eq 0 ]; then
+if [ $numFails -eq 15 ]; then
     echo "Summary: All tests succeeded."
     exit 0
 else

CVSTrac 2.0.1