summaryrefslogtreecommitdiff
path: root/tests/tests/tagupl
blob: 7859400712926c015d5c24423819e27249806a17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/bin/bash
set -e
. tests/lib

t-dependencies DEBORIG git-debpush

t-debpolicy

t-archive-none example
t-git-none
t-worktree 1.0

v=1.0-1

t-tagupl-settings

cd $p
git checkout -b native 

git checkout --orphan upstream quilt-tip-2
git rm -rf debian
git commit -m 'pseudo-upstream'
git tag upstream/1.0

git checkout -B master quilt-tip-2

upstream=$(git rev-parse upstream/1.0~0)
tagname=test-dummy/$v

t-tagupl-test --no-push --quilt=gbp

# xxx test pushing
# todo: test each miss/rejection

t-ok