Re: [PATCH/RFC v2 4/4] remote-curl: main test case for the OS command line overflow
From: Junio C Hamano <hidden> Date: 2016-06-15 22:53:24
Ivan Todoroski [off-list ref] 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.