From 07a8b1861c8dd294d0f30fb2fdb19228eca67aa9 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 5 Feb 2017 13:17:04 +0000 Subject: test suite: quilt-useremail: New test for user config copying Test for #853085. Signed-off-by: Ian Jackson --- tests/tests/quilt-useremail | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100755 tests/tests/quilt-useremail (limited to 'tests/tests/quilt-useremail') diff --git a/tests/tests/quilt-useremail b/tests/tests/quilt-useremail new file mode 100755 index 0000000..f079395 --- /dev/null +++ b/tests/tests/quilt-useremail @@ -0,0 +1,27 @@ +#!/bin/bash +set -e +. tests/lib + +t-tstunt-parsechangelog +t-archive example 1.0-1 +t-worktree 1.0 +t-git-none + +cd $p + +git checkout quilt-tip-2 + +t-dgit -wgf fetch + +oe=other.email@example.com +on='Hannibal Barca' + +git config --local user.email "$oe" +git config --local user.name "$on" + +t-dgit -wgf --quilt=smash quilt-fixup + +git show | fgrep "$oe" +git show | fgrep "$on" + +t-ok -- cgit v1.2.3