t5608-clone-2gb.sh: turn GIT_TEST_CLONE_2GB into a bool
authorSZEDER Gábor <szeder.dev@gmail.com>
Fri, 22 Nov 2019 13:14:37 +0000 (14:14 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sat, 23 Nov 2019 02:16:10 +0000 (11:16 +0900)
commita85efb598565718a06e560eb3f1ca038f6f3cd39
tree93bf98b6f72b587f1fe46b003b3ea06f673d7a08
parent43a2afee82acd0c51609a7840ca71ac5291020b4
t5608-clone-2gb.sh: turn GIT_TEST_CLONE_2GB into a bool

The GIT_TEST_CLONE_2GB environment variable is only ever checked with
'test -z' in 't5608-clone-2gb.sh', so any non-empty value is
interpreted as "yes, run these expensive tests", even
'GIT_TEST_CLONE_2GB=NoThanks'.

Similar GIT_TEST_* environment variables have already been turned into
bools in 3b072c577b (tests: replace test_tristate with "git
env--helper", 2019-06-21), so let's turn GIT_TEST_CLONE_2GB into a
bool as well, to follow suit.

Our CI builds set GIT_TEST_CLONE_2GB=YesPlease, so adjust them
accordingly, thus removing the last 'YesPlease' from our CI scripts.

Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
ci/lib.sh
t/t5608-clone-2gb.sh