Merge branch 'jk/maint-quiet-is-synonym-to-s-in-log'
[gitweb.git] / t / t5541-http-push.sh
index 9b1cd603c6d23826e8e299ac5b220583abf53092..4b4b4a604f3075dec1056b31da5cccc0c4ed5a9a 100755 (executable)
@@ -66,7 +66,10 @@ test_expect_success 'no empty path components' '
 
 test_expect_success 'clone remote repository' '
        rm -rf test_repo_clone &&
-       git clone $HTTPD_URL/smart/test_repo.git test_repo_clone
+       git clone $HTTPD_URL/smart/test_repo.git test_repo_clone &&
+       (
+               cd test_repo_clone && git config push.default matching
+       )
 '
 
 test_expect_success 'push to remote repository (standard)' '
@@ -280,7 +283,7 @@ test_expect_success 'push over smart http with auth' '
        test_cmp expect actual
 '
 
-test_expect_failure 'push to auth-only-for-push repo' '
+test_expect_success 'push to auth-only-for-push repo' '
        cd "$ROOT_PATH/test_repo_clone" &&
        echo push-half-auth >expect &&
        test_commit push-half-auth &&