Code

t5400: expect success for denying deletion
authorJeff King <peff@peff.net>
Fri, 7 Nov 2008 22:09:55 +0000 (17:09 -0500)
committerJunio C Hamano <gitster@pobox.com>
Sun, 9 Nov 2008 00:02:32 +0000 (16:02 -0800)
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>
t/t5400-send-pack.sh

index 6fe2f87b850c1a2d689d5a831084da8915c74ea2..da69f087b41182be84be0c98a78c1a45b879cfe5 100755 (executable)
@@ -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 &&