chiark / gitweb /
test suite: quilt-useremail: New test for user config copying
authorIan Jackson <>
Sun, 5 Feb 2017 13:17:04 +0000 (13:17 +0000)
committerIan Jackson <>
Sun, 5 Feb 2017 13:17:05 +0000 (13:17 +0000)
Test for #853085.

Signed-off-by: Ian Jackson <>
tests/tests/quilt-useremail [new file with mode: 0755]

index 0c80ccf..b2c520f 100644 (file)
@@ -4,6 +4,9 @@ dgit (3.10~) unstable; urgency=medium
   * dgit: Copy several user.* settings from main tree git local config
     to dgit private workarea.  Closes:#853085.
+  Test suite:
+  * quilt-useremail: New test for user config copying (#853085).
 dgit (3.9) unstable; urgency=medium
index ea79c22..e3f768d 100644 (file)
@@ -29,7 +29,7 @@ Tests-Directory: tests/tests
 Depends: dgit, dgit-infrastructure, devscripts, debhelper (>=8), fakeroot, build-essential
 Restrictions: x-dgit-git-only
-Tests: absurd-gitapply badcommit-rewrite build-modes build-modes-asplit build-modes-gbp-asplit clone-clogsigpipe clone-gitnosuite clone-nogit debpolicy-dbretry debpolicy-newreject debpolicy-quilt-gbp defdistro-rpush defdistro-setup distropatches-reject drs-clone-nogit drs-push-masterupdate drs-push-rejects dsd-clone-nogit dsd-divert fetch-localgitonly fetch-somegit-notlast gbp-orig gitconfig import-dsc import-native import-nonnative import-tarbomb inarchivecopy mismatches-contents mismatches-dscchanges multisuite newtag-clone-nogit oldnewtagalt oldtag-clone-nogit orig-include-exclude orig-include-exclude-chkquery overwrite-chkclog overwrite-junk overwrite-splitbrains overwrite-version protocol-compat push-buildproductsdir push-newpackage push-nextdgit quilt quilt-gbp quilt-gbp-build-modes quilt-singlepatch quilt-splitbrains rpush tag-updates test-list-uptodate trustingpolicy-replay unrepresentable version-opt
+Tests: absurd-gitapply badcommit-rewrite build-modes build-modes-asplit build-modes-gbp-asplit clone-clogsigpipe clone-gitnosuite clone-nogit debpolicy-dbretry debpolicy-newreject debpolicy-quilt-gbp defdistro-rpush defdistro-setup distropatches-reject drs-clone-nogit drs-push-masterupdate drs-push-rejects dsd-clone-nogit dsd-divert fetch-localgitonly fetch-somegit-notlast gbp-orig gitconfig import-dsc import-native import-nonnative import-tarbomb inarchivecopy mismatches-contents mismatches-dscchanges multisuite newtag-clone-nogit oldnewtagalt oldtag-clone-nogit orig-include-exclude orig-include-exclude-chkquery overwrite-chkclog overwrite-junk overwrite-splitbrains overwrite-version protocol-compat push-buildproductsdir push-newpackage push-nextdgit quilt quilt-gbp quilt-gbp-build-modes quilt-singlepatch quilt-splitbrains quilt-useremail rpush tag-updates test-list-uptodate trustingpolicy-replay unrepresentable version-opt
 Tests-Directory: tests/tests
 Depends: dgit, dgit-infrastructure, devscripts, debhelper (>=8), fakeroot, build-essential
diff --git a/tests/tests/quilt-useremail b/tests/tests/quilt-useremail
new file mode 100755 (executable)
index 0000000..f079395
--- /dev/null
@@ -0,0 +1,27 @@
+set -e
+. tests/lib
+t-archive example 1.0-1
+t-worktree 1.0
+cd $p
+git checkout quilt-tip-2
+t-dgit -wgf fetch
+on='Hannibal Barca'
+git config --local "$oe"
+git config --local  "$on"
+t-dgit -wgf --quilt=smash quilt-fixup
+git show | fgrep "$oe"
+git show | fgrep "$on"