Re: [PATCH/RFC v2 4/4] remote-curl: main test case for the OS command line overflow
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 27, 2012, 17:43 UTC
- Message-ID
- <7vzkb2hrd6.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <4F715DF6.7080401@gmx.net>
Ivan Todoroski <grnch@gmx.net> writes:
Show 5 quoted lines
> +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 ))
doneThe body of the test itself looked reasonable.
Thanks.