OSSP CVS Repository

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

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

--- .run-tests   2001/07/09 17:55:54     1.6
+++ .run-tests   2001/07/09 18:19:31     1.7
@@ -12,7 +12,7 @@
 echo "Running test suite:"
 
 for suite in $*; do
-    tmp="${suite%%.exe}"
+    tmp=`expr "${suite}" : '\(.*\)\.exe$'`
     echo -n "$tmp"
     currpos=`expr $RESCOLUMN - \( length $tmp \)`
     while [ $currpos -gt 1 ]; do
@@ -21,8 +21,7 @@
     done
     echo -n " "
     numTests=`expr $numTests + 1`
-    eval ./$suite >${suite%%.exe}.log 2>&1
-    if [ $? -eq 0 ]; then
+    if eval ./$suite >${tmp}.log 2>&1; then
         echo OK
     else
         numFails=`expr $numFails + 1`

CVSTrac 2.0.1