diff options
Diffstat (limited to 'tests/lib-import-chk')
-rw-r--r-- | tests/lib-import-chk | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/lib-import-chk b/tests/lib-import-chk index ee33cbe..a456b01 100644 --- a/tests/lib-import-chk +++ b/tests/lib-import-chk @@ -1,4 +1,14 @@ +t-import-chk-authorship () { + perl -ne 'print $1,"\n" if m/^ -- (\S.*\>) /' debian/changelog \ + | sort -u \ + > $tmp/authorship.changelog + git log --pretty=format:'%an <%ae>%n%cn <%ce>' \ + | sort -u \ + > $tmp/authorship.commits + diff $tmp/authorship.{changelog,commits} +} + t-import-chk1 () { p=$1 v=$2 @@ -15,6 +25,8 @@ t-import-chk2() { cd $p + t-import-chk-authorship + git branch first-import m='Commit for import check' |