summaryrefslogtreecommitdiff
path: root/tests/tests/tagupl-native
blob: cd6538e6862867894e1efd5ea8e8aa4f8a7c938d (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
#!/bin/bash
set -e
. tests/lib

t-dependencies git-debpush

t-debpolicy

t-archive-none example
t-git-none
t-worktree 1.1

v=1.0-1

cd $p
git checkout -B master

t-tagupl-settings

printf '%s\n' -sn >debian/source/options
git add debian/source/options
git rm -f debian/source/format
git commit -m 'convert to 1.0 native'

tagname=test-dummy/$v

t-tagupl-test --no-push

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

t-ok