From: Junio C Hamano Date: Tue, 27 Mar 2012 17:43:17 GMT Subject: Re: [PATCH/RFC v2 4/4] remote-curl: main test case for the OS command line overflow Message-ID: <7vzkb2hrd6.fsf@alter.siamese.dyndns.org> In-Reply-To: <4F715DF6.7080401@gmx.net> Ivan Todoroski writes: > +test_expect_success EXPENSIVE 'create 50,000 tags in the repo' ' > + ( > + cd "$HTTPD_DOCUMENT_ROOT_PATH/repo.git" && > + N=50000 && > + for ((i=1; i<=$N; i++)); do That's bash-ism isn't it? N=50000 I=1 while test $I -le $N do ... I=$(( $I + 1 )) done The body of the test itself looked reasonable. Thanks.