Since 83d842dc8 "make test" using prove fails for some setups in t5541

   "Parse errors: No plan found in TAP output"

Running t5541 on its own fails with:

   "error: Can't use skip_all after running some tests"

This happens because "start_httpd" (which determines if the test is to
be skipped) is called after sourcing (which sets up the
terminal using test_expect_success).

Fix that by calling "start_httpd" before sourcing

Signed-off-by: Jens Lehmann <>

Since recently t5541 fails for me on master and pu. I'm not sure what
detail in my setup causes this breakage (I have httpd installed and it
is running), but this patch fixes it for me.

 t/ | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/t/ b/t/
index 73af16f..597fb96 100755
--- a/t/
+++ b/t/
@@ -13,8 +13,8 @@ fi


 test_expect_success 'setup remote repository' '
        cd "$ROOT_PATH" &&

To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to
More majordomo info at

Reply via email to