Skip to content

Commit

Permalink
t5400: expect success for denying deletion
Browse files Browse the repository at this point in the history
Commit a240de1 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>
  • Loading branch information
Jeff King authored and Junio C Hamano committed Nov 9, 2008
1 parent dde80d9 commit 6abe9c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/t5400-send-pack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 &&
Expand Down

0 comments on commit 6abe9c8

Please sign in to comment.