test/pre-push: use --no-verify to avoid (future) pre-commit hook
This commit is contained in:
parent
518aeb8076
commit
f1b2f98f5e
@ -521,7 +521,8 @@ begin_test "pre-push with unowned lock"
|
||||
|
||||
printf "unauthorized changes" >> locked_unowned.dat
|
||||
git add locked_unowned.dat
|
||||
git commit -m "add unauthroized changes"
|
||||
# --no-verify is used to avoid the pre-commit hook which is not under test
|
||||
git commit --no-verify -m "add unauthroized changes"
|
||||
|
||||
set +e
|
||||
git push origin master 2>&1 | tee push.log
|
||||
|
Loading…
Reference in New Issue
Block a user