Re: [PATCH/RFC v2 4/4] remote-curl: main test case for the OS command line overflow

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ivan Todoroski <grnch@xxxxxxx> 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.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]