diff options
author | Jeff King <peff@peff.net> | 2018-02-19 14:48:44 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-02-20 11:27:06 -0800 |
commit | 6cdffd06d6ce1e997963790f9206fc981715fbbb (patch) | |
tree | 76e42e47015a528659975fc42a8dc1e200315ae2 /compat/vcbuild | |
parent | Git 2.16.2 (diff) | |
download | tgif-6cdffd06d6ce1e997963790f9206fc981715fbbb.tar.xz |
t5545: factor out http repository setup
We repeat many lines of setup code in the two http tests,
and further tests would need to repeat it again. Let's
factor this out into a function.
Incidentally, this also fixes an unlikely bug: if the httpd
root path contains a double-quote, our test_when_finished
would barf due to improper quoting (we escape the embedded
quotes, but not the $, meaning we expand the variable before
the eval).
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/vcbuild')
0 files changed, 0 insertions, 0 deletions