summaryrefslogtreecommitdiff
path: root/serve.c
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2021-05-18 02:27:36 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-05-19 10:09:57 +0900
commitb694f1e49ec39f45f61ca3b6d9df5945cbf43b71 (patch)
tree6e19d7bb8a611ec3a564f2cb1bda2304aa16cae0 /serve.c
parentremote-curl: fall back to basic auth if Negotiate fails (diff)
downloadtgif-b694f1e49ec39f45f61ca3b6d9df5945cbf43b71.tar.xz
t5551: test http interaction with credential helpers
We test authentication with http, and we independently test that credential helpers work, but we don't have any tests that cover the two features working together. Let's add two: 1. Make sure that a successful request asks the helper to save the credential. This works as expected. 2. Make sure that a failed request asks the helper to forget the credential. This is marked as expect_failure, as it was recently regressed by 1b0d9545bb (remote-curl: fall back to basic auth if Negotiate fails, 2021-03-22). The symptom here is that the second request should prompt the user, but doesn't. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'serve.c')
0 files changed, 0 insertions, 0 deletions