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>
Jeff King committed
Nov 7, 2008 at 17:09 UTC
6abe9c87c78d4925e12e609f4f26447c6a579b9e
1 file changed
+1
-1
t/t5400-send-pack.sh
+1
-1
@@ -103,7 +103,7 @@ unset GIT_CONFIG GIT_CONFIG_LOCAL
103
HOME=`pwd`/no-such-directory
104
export HOME ;# this way we force the victim/.git/config to be used.
105
106
-test_expect_failure \
106
+test_expect_success \
107
'pushing a delete should be denied with denyDeletes' '
108
cd victim &&
109
git config receive.denyDeletes true &&