t5541: mark passing c-a-s test as success

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>

Jeff King committed Sep 20, 2013 at 06:25 UTC 42aa29ee12bbc769567c4c8ed694566511ef2e39
1 file changed +1 -1
t/lib-httpd.sh
+1 -1
@@ -169,7 +169,7 @@ test_http_push_nonff () {
169 test_i18ngrep "Updates were rejected because" output
170 '
171
172 - test_expect_failure 'force with lease aka cas' '
172 + test_expect_${EXPECT_CAS_RESULT} 'force with lease aka cas' '
173 HEAD=$( cd "$REMOTE_REPO" && git rev-parse --verify HEAD ) &&
174 test_when_finished '\''
175 (cd "$REMOTE_REPO" && git update-ref HEAD "$HEAD")