aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-10-18 17:35:51 +0200
committerMichał Górny <mgorny@gentoo.org>2019-04-09 13:05:55 +0200
commit9c94d44fee50b6e92210aded37ef841e6701c7ed (patch)
treea036a6fdb03fb47f9fce56f165ad372e24deea23 /local/tests/update-06-copyright.sh
parentupdate-04-utf8: Add tests (diff)
downloadgithooks-9c94d44fee50b6e92210aded37ef841e6701c7ed.tar.gz
githooks-9c94d44fee50b6e92210aded37ef841e6701c7ed.tar.bz2
githooks-9c94d44fee50b6e92210aded37ef841e6701c7ed.zip
update-06-copyright: Allow for comments in S-o-b
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'local/tests/update-06-copyright.sh')
-rwxr-xr-xlocal/tests/update-06-copyright.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/local/tests/update-06-copyright.sh b/local/tests/update-06-copyright.sh
index a8816e0..0e0d3be 100755
--- a/local/tests/update-06-copyright.sh
+++ b/local/tests/update-06-copyright.sh
@@ -201,6 +201,12 @@ git commit --allow-empty -m "A commit
Signed-off-by: ${GIT_COMMITTER_NAME^^} <${GIT_COMMITTER_EMAIL^^}>" -q
test_success
+tbegin "Comment after realname"
+git commit --allow-empty -m "A commit
+
+Signed-off-by: ${GIT_COMMITTER_NAME} (foobarbaz) <${GIT_COMMITTER_EMAIL}>" -q
+test_success
+
eoutdent
export GIT_AUTHOR_NAME='Somebody Else'