chiark / gitweb /
git-debrebase: test suite: introduce t-dch-commit
[dgit.git] / tests / lib
index e226637fce41ea84a89c8dde68432c0cd8c81e5a..dd8c4d0152ac08cc51ab260e5187bce072ab7c0f 100644 (file)
--- a/tests/lib
+++ b/tests/lib
@@ -1004,6 +1004,11 @@ t-commit () {
        revision=$(( ${revision-0} + 1 ))
 }
 
+t-dch-commit () {
+       dch "$@"
+       git commit -m "dch $*" debian/changelog
+}
+
 t-git-config () {
        git config --global "$@"
 }