changeset 9799:99a2096c3d8d

fix test-diffstat on solaris
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Sun, 08 Nov 2009 17:59:36 +0100
parents 1ca6314205f3
children b39f98be96de
files tests/test-diffstat
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-diffstat	Sun Nov 08 17:27:01 2009 +0100
+++ b/tests/test-diffstat	Sun Nov 08 17:59:36 2009 +0100
@@ -2,7 +2,7 @@
 
 hg init repo
 cd repo
-i=0; while [ "$i" -lt 213 ]; do echo a >> a; i=$(($i + 1)); done
+i=0; while [ "$i" -lt 213 ]; do echo a >> a; i=`expr $i + 1`; done
 hg add a
 
 echo '% wide diffstat'