fix test-diffstat on solaris
authorBenoit Boissinot <benoit.boissinot@ens-lyon.org>
Sun, 08 Nov 2009 17:59:36 +0100
changeset 9799 99a2096c3d8d
parent 9798 1ca6314205f3
child 9800 b39f98be96de
fix test-diffstat on solaris
tests/test-diffstat
--- 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'