summaryrefslogtreecommitdiffabout
path: root/tests
authorLars Hjemli <hjemli@gmail.com>2008-11-06 18:18:27 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2008-11-06 18:18:27 (UTC)
commitb8a7eb12d459c48943e31762b24b169af8c427a1 (patch) (side-by-side diff)
treebb5bfcf6e5f71a478e7586bd1d128aa94bfd7dbe /tests
parent140012d7a8e51df5a9f9c556696778b86ade4fc9 (diff)
parente4d2f2b042100182ff5b214fd6848b71d70fad7d (diff)
downloadcgit-b8a7eb12d459c48943e31762b24b169af8c427a1.zip
cgit-b8a7eb12d459c48943e31762b24b169af8c427a1.tar.gz
cgit-b8a7eb12d459c48943e31762b24b169af8c427a1.tar.bz2
Merge branch 'stable'
Diffstat (limited to 'tests') (more/less context) (ignore whitespace changes)
-rwxr-xr-xtests/setup.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/setup.sh b/tests/setup.sh
index 1457dd5..95acb54 100755
--- a/tests/setup.sh
+++ b/tests/setup.sh
@@ -27,3 +27,4 @@ mkrepo() {
git init
- for ((n=1; n<=count; n++))
+ n=1
+ while test $n -le $count
do
@@ -32,2 +33,3 @@ mkrepo() {
git commit -m "commit $n"
+ n=$(expr $n + 1)
done
@@ -103,3 +105,3 @@ run_test()
script=$2
- ((test_count++))
+ test_count=$(expr $test_count + 1)
printf "\ntest %d: name='%s'\n" $test_count "$desc" >>test-output.log