summaryrefslogtreecommitdiff
path: root/t/t5400-send-pack.sh
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2008-11-07 22:09:55 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-11-09 00:02:32 (GMT)
commit6abe9c87c78d4925e12e609f4f26447c6a579b9e (patch)
tree87d2c53dbec70b314b86efa7eb988d84e6c39411 /t/t5400-send-pack.sh
parentdde80d9c23e10592817f0c81e32a99a889a9bb8e (diff)
downloadgit-6abe9c87c78d4925e12e609f4f26447c6a579b9e.zip
git-6abe9c87c78d4925e12e609f4f26447c6a579b9e.tar.gz
git-6abe9c87c78d4925e12e609f4f26447c6a579b9e.tar.bz2
t5400: expect success for denying deletion
Commit a240de11 introduced this test and the code to make it successful. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5400-send-pack.sh')
-rwxr-xr-xt/t5400-send-pack.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t5400-send-pack.sh b/t/t5400-send-pack.sh
index 6fe2f87..da69f08 100755
--- a/t/t5400-send-pack.sh
+++ b/t/t5400-send-pack.sh
@@ -103,7 +103,7 @@ unset GIT_CONFIG GIT_CONFIG_LOCAL
HOME=`pwd`/no-such-directory
export HOME ;# this way we force the victim/.git/config to be used.
-test_expect_failure \
+test_expect_success \
'pushing a delete should be denied with denyDeletes' '
cd victim &&
git config receive.denyDeletes true &&