fetch tests: double quote a variable for interpolation
authorÆvar Arnfjörð Bjarmason <redacted>
Fri, 9 Feb 2018 20:32:08 +0000 (20:32 +0000)
committerJunio C Hamano <redacted>
Fri, 9 Feb 2018 21:10:12 +0000 (13:10 -0800)
commit82f34e03e91af42a020f15a1d248bc75785c565a
tree4f16febfe81bf3f08b7ed7f8748f298edf8aa95b
parent6fb23f56c16c0981a2f7b46f53ac3af12b247996
fetch tests: double quote a variable for interpolation

If the $cmdline variable contains arguments with spaces they won't be
interpolated correctly, since the body of the test is single quoted,
and because test-lib.sh does its own eval().

This will be used in a subsequent commit to pass arguments that need
to be quoted to git-fetch, i.e. a file:// path to fetch, which will
have a space in it.

Signed-off-by: Ævar Arnfjörð Bjarmason <redacted>
Signed-off-by: Junio C Hamano <redacted>
t/t5510-fetch.sh
git clone https://git.99rst.org/PROJECT