Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-show: do not segfault when showing a bad tag
[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..b06909599564a1c8afa027b0f9c71ef6bb61d6e4 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"
+
test_must_fail
git commit -m "another"
'