Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge git://git.kernel.org/pub/scm/gitk/gitk
[gitweb.git]
/
t
/
t7503-pre-commit-hook.sh
diff --git
a/t/t7503-pre-commit-hook.sh
b/t/t7503-pre-commit-hook.sh
index d787cac2f7c09c0d84cb4cdfdf68401b660d3c6c..2dd5a5e30279e6c3e5ac2be9425c19328a65aff1 100755
(executable)
--- a/
t/t7503-pre-commit-hook.sh
+++ b/
t/t7503-pre-commit-hook.sh
@@
-52,11
+52,11
@@
cat > "$HOOK" <<EOF
exit 1
EOF
-test_expect_
failure
'with failing hook' '
+test_expect_
success
'with failing hook' '
echo "another" >> file &&
git add file &&
- git commit -m "another"
+
!
git commit -m "another"
'