diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2019-07-18 00:52:56 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2019-07-18 02:55:37 +0100 |
commit | c65ccb21e4984bf187979a25c7ff962a167972ca (patch) | |
tree | fb572af0cb91ce69b77706af17e67e7165969d60 | |
parent | 679e55278db8ba234a57fc16fd0449c7a2f7b386 (diff) |
test suite: tagupl-gbp: New test
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
-rw-r--r-- | debian/tests/control | 4 | ||||
-rwxr-xr-x | tests/tests/tagupl-gbp | 28 |
2 files changed, 32 insertions, 0 deletions
diff --git a/debian/tests/control b/debian/tests/control index d105f0b..63e9369 100644 --- a/debian/tests/control +++ b/debian/tests/control @@ -72,6 +72,10 @@ Tests: tagupl-baredebian Tests-Directory: tests/tests Depends: dgit, dgit-infrastructure, devscripts, debhelper (>=8), fakeroot, build-essential, chiark-utils-bin, bc, faketime, quilt, git-debpush, git-debrebase, git-buildpackage, libdpkg-perl, libgit-wrapper-perl, liblist-compare-perl, libstring-shellquote-perl, libtry-tiny-perl +Tests: tagupl-gbp +Tests-Directory: tests/tests +Depends: dgit, dgit-infrastructure, devscripts, debhelper (>=8), fakeroot, build-essential, chiark-utils-bin, bc, faketime, git-debpush, libdpkg-perl, libgit-wrapper-perl, liblist-compare-perl, libstring-shellquote-perl, libtry-tiny-perl + Tests: tagupl-native Tests-Directory: tests/tests Depends: dgit, dgit-infrastructure, devscripts, debhelper (>=8), fakeroot, build-essential, chiark-utils-bin, bc, faketime, git-debpush diff --git a/tests/tests/tagupl-gbp b/tests/tests/tagupl-gbp new file mode 100755 index 0000000..a4ecb09 --- /dev/null +++ b/tests/tests/tagupl-gbp @@ -0,0 +1,28 @@ +#!/bin/bash +set -e +. tests/lib +. $troot/lib-baredebian + +t-dependencies git-debpush DEBORIG + +t-setup-import gbp + +t-debpolicy + +cd $p + +git deborig + +t-dgit -wgf --quilt=gbp --dgit-view-save=split.b quilt-fixup + +t-tagupl-settings + +tagname=test-dummy/$v + +t-tagupl-test --gbp + +git branch split.p dgit/dgit/sid # we didn't generate this here + +t-gbp-pushed-good sid + +t-ok |