t5545: enhance test coverage when no http server is installed
commit2e397e4ddfff1fcb13b41665b9a3aed6bb99eea2
authorStefan Beller <sbeller@google.com>
Wed, 17 May 2017 03:11:03 +0000 (16 20:11 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 18 May 2017 02:53:35 +0000 (18 11:53 +0900)
tree1ef538312cdf15122538c4f85bfab3849106afe4
parentc7018be5095f6ec8d2a8f7235cc28207aab64102
t5545: enhance test coverage when no http server is installed

In commit 438fc68462 ("push options: pass push options to the transport
helper", 08-02-2017), the test coverage was reduced to run no tests at all
if you lack a http server.  Move the http initialization to the end,
such that only http tests are skipped when a http server is missing.

The test in between that tests submodule propagation is safe to run before
the http tests as it makes its own test directories `parent` and
`parent_upstream`.

Noticed-by: Ramsay Jones <ramsay@ramsayjones.plus.com>
Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5545-push-options.sh