Imported Upstream version 2.22.0
[platform/upstream/git.git] / t / t5540-http-push-webdav.sh
index 8d7b3c5..a094fd5 100755 (executable)
@@ -169,13 +169,11 @@ test_expect_failure 'push to password-protected repository (no user in URL)' '
        test_commit pw-nouser &&
        set_askpass user@host pass@host &&
        git push "$HTTPD_URL/auth/dumb/test_repo.git" HEAD &&
-       expect_askpass both user@host
+       expect_askpass both user@host &&
        git rev-parse --verify HEAD >expect &&
        git --git-dir="$HTTPD_DOCUMENT_ROOT_PATH/auth/dumb/test_repo.git" \
                rev-parse --verify HEAD >actual &&
        test_cmp expect actual
 '
 
-stop_httpd
-
 test_done