OSSP CVS Repository

ossp - Difference in ossp-pkg/xds/regression-tests/.run-tests versions 1.7 and 1.8
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/xds/regression-tests/.run-tests 1.7 -> 1.8

--- .run-tests   2001/07/09 18:19:31     1.7
+++ .run-tests   2001/07/09 18:22:37     1.8
@@ -16,21 +16,22 @@
     echo -n "$tmp"
     currpos=`expr $RESCOLUMN - \( length $tmp \)`
     while [ $currpos -gt 1 ]; do
-        echo -n "."
-        currpos=`expr $currpos - 1`
+        echo -n "."
+        currpos=`expr $currpos - 1`
     done
     echo -n " "
     numTests=`expr $numTests + 1`
-    if eval ./$suite >${tmp}.log 2>&1; then
-        echo OK
+    eval ./$suite >${suite%%.exe}.log 2>&1
+    if [ $? -eq 0 ]; then
+        echo OK
     else
-        numFails=`expr $numFails + 1`
-        echo FAILED
+        numFails=`expr $numFails + 1`
+        echo FAILED
     fi
 done
 
 echo
-if [ $numFails -eq 15 ]; then
+if [ $numFails -eq 0 ]; then
     echo "Summary: All tests succeeded."
     exit 0
 else

CVSTrac 2.0.1