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>
This commit is contained in:
parent
dde80d9c23
commit
6abe9c87c7
@ -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 &&
|
||||
|
Loading…
Reference in New Issue
Block a user