tests/run-tests
changeset 1925 c71420b186b0
parent 1923 7d83a351a936
child 1932 82995896d5af
--- a/tests/run-tests
+++ b/tests/run-tests
@@ -19,6 +19,9 @@ HGEDITOR=true; export HGEDITOR
 HGMERGE=true; export HGMERGE
 HGUSER="test"; export HGUSER
 
+ECHO_N="echo -n"
+[ -x /usr/ucb/echo ] && ECHO_N="/usr/ucb/echo -n"
+
 umask 022
 
 tests=0
@@ -126,7 +129,7 @@ if [ -z "$TESTS" ] ; then
 fi
 
 for f in $TESTS ; do
-    echo -n "."
+    $ECHO_N "."
     run_one $f || failed=`expr $failed + 1`
     tests=`expr $tests + 1`
 done