projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dde80d9
)
t5400: expect success for denying deletion
author
Jeff King
<peff@peff.net>
Fri, 7 Nov 2008 22:09:55 +0000
(17:09 -0500)
committer
Junio 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
patch
|
blob
|
history
diff --git
a/t/t5400-send-pack.sh
b/t/t5400-send-pack.sh
index 6fe2f87b850c1a2d689d5a831084da8915c74ea2..da69f087b41182be84be0c98a78c1a45b879cfe5 100755
(executable)
--- 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 &&