summaryrefslogtreecommitdiff
path: root/t/lib-httpd.sh
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2013-09-20 06:25:00 -0400
committerJunio C Hamano <gitster@pobox.com>2013-09-20 11:18:09 -0700
commit42aa29ee12bbc769567c4c8ed694566511ef2e39 (patch)
tree0f94b2d9bb36822c0419df264677b9da5cd103b4 /t/lib-httpd.sh
parent05c1eb10348f159908becc7a6ed6bbcdab24c893 (diff)
downloadgit-42aa29ee12bbc769567c4c8ed694566511ef2e39.tar.gz
t5541: mark passing c-a-s test as successjc/push-cas
Commit 05c1eb1 (push: teach --force-with-lease to smart-http transport) fixed the compare-and-swap test in t5541. It tried to mark the test as passing by teaching the test helper function to expect an extra "success or failure" parameter, but forgot to actually use the parameter in the helper. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/lib-httpd.sh')
-rw-r--r--t/lib-httpd.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/lib-httpd.sh b/t/lib-httpd.sh
index dab405d574..54dbbfe5ce 100644
--- a/t/lib-httpd.sh
+++ b/t/lib-httpd.sh
@@ -169,7 +169,7 @@ test_http_push_nonff () {
test_i18ngrep "Updates were rejected because" output
'
- test_expect_failure 'force with lease aka cas' '
+ test_expect_${EXPECT_CAS_RESULT} 'force with lease aka cas' '
HEAD=$( cd "$REMOTE_REPO" && git rev-parse --verify HEAD ) &&
test_when_finished '\''
(cd "$REMOTE_REPO" && git update-ref HEAD "$HEAD")