Mercurial > hg > mercurial-crew-with-dirclash
comparison tests/run-tests @ 1925:c71420b186b0
small solaris portability fixes from John Levon <levon@movementarian.org>
author | Peter van Dijk <peter@dataloss.nl> |
---|---|
date | Wed, 22 Feb 2006 15:42:48 +0100 |
parents | 7d83a351a936 |
children | 82995896d5af |
comparison
equal
deleted
inserted
replaced
1924:46fb38ef9a91 | 1925:c71420b186b0 |
---|---|
16 LC_ALL=""; export LC_ALL | 16 LC_ALL=""; export LC_ALL |
17 TZ=GMT; export TZ | 17 TZ=GMT; export TZ |
18 HGEDITOR=true; export HGEDITOR | 18 HGEDITOR=true; export HGEDITOR |
19 HGMERGE=true; export HGMERGE | 19 HGMERGE=true; export HGMERGE |
20 HGUSER="test"; export HGUSER | 20 HGUSER="test"; export HGUSER |
21 | |
22 ECHO_N="echo -n" | |
23 [ -x /usr/ucb/echo ] && ECHO_N="/usr/ucb/echo -n" | |
21 | 24 |
22 umask 022 | 25 umask 022 |
23 | 26 |
24 tests=0 | 27 tests=0 |
25 failed=0 | 28 failed=0 |
124 if [ -z "$TESTS" ] ; then | 127 if [ -z "$TESTS" ] ; then |
125 TESTS=`ls test-* | grep -v "[.~]"` | 128 TESTS=`ls test-* | grep -v "[.~]"` |
126 fi | 129 fi |
127 | 130 |
128 for f in $TESTS ; do | 131 for f in $TESTS ; do |
129 echo -n "." | 132 $ECHO_N "." |
130 run_one $f || failed=`expr $failed + 1` | 133 run_one $f || failed=`expr $failed + 1` |
131 tests=`expr $tests + 1` | 134 tests=`expr $tests + 1` |
132 done | 135 done |
133 | 136 |
134 echo | 137 echo |