From 6abe9c87c78d4925e12e609f4f26447c6a579b9e Mon Sep 17 00:00:00 2001 From: Jeff King Date: Fri, 7 Nov 2008 17:09:55 -0500 Subject: [PATCH 1/1] t5400: expect success for denying deletion Commit a240de11 introduced this test and the code to make it successful. Signed-off-by: Jeff King Signed-off-by: Junio C Hamano --- t/t5400-send-pack.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/t5400-send-pack.sh b/t/t5400-send-pack.sh index 6fe2f87b85..da69f087b4 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 && -- 2.43.2