OSSP CVS Repository

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

Check-in Number: 4192
Date: 2001-Jul-09 20:27:26 (local)
2001-Jul-09 18:27:26 (UTC)
User:simons
Branch:
Comment: Reverted the use of "expr length" also because FreeBSD cannot do it.
Tickets:
Inspections:
Files:
ossp-pkg/xds/regression-tests/.run-tests      1.8 -> 1.9     2 inserted, 2 deleted

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

--- .run-tests   2001/07/09 18:22:37     1.8
+++ .run-tests   2001/07/09 18:27:26     1.9
@@ -14,14 +14,14 @@
 for suite in $*; do
     tmp=`expr "${suite}" : '\(.*\)\.exe$'`
     echo -n "$tmp"
-    currpos=`expr $RESCOLUMN - \( length $tmp \)`
+    currpos=`expr $RESCOLUMN - ${#tmp}`
     while [ $currpos -gt 1 ]; do
         echo -n "."
         currpos=`expr $currpos - 1`
     done
     echo -n " "
     numTests=`expr $numTests + 1`
-    eval ./$suite >${suite%%.exe}.log 2>&1
+    eval ./$suite >${tmp}.log 2>&1
     if [ $? -eq 0 ]; then
         echo OK
     else

CVSTrac 2.0.1