Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
git checkout --orphan upstream quilt-tip-2
git rm -rf debian
git commit -m 'pseudo-upstream'
git checkout --orphan upstream quilt-tip-2
git rm -rf debian
git commit -m 'pseudo-upstream'
+upstreamtag=UPSTREAM/RELEASE/1.0
+git tag $upstreamtag
git checkout -B master quilt-tip-2
git checkout -B master quilt-tip-2
-t-tagupl-test --quilt=gbp
+t-tagupl-test --quilt=gbp --upstream=$upstreamtag
# todo: test each miss/rejection
# todo: test each miss/rejection
"failed command: git check-ref-format"
expect-email bupstag2 's/ upstream-tag=/$&x/' \
"failed command: git check-ref-format"
expect-email bupstag2 's/ upstream-tag=/$&x/' \
- "Couldn't find remote ref refs/tags/xupstream"
+ "Couldn't find remote ref refs/tags/xUPSTREAM"
expect-email wrongver '' 'mismatch: changelog Version'
expect-email wrongver '' 'mismatch: changelog Version'