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

t-tstunt-parsechangelog

t-gbp-example-prep-no-ff
t-newtag

t-dgit --quilt=gbp build-source

t-dgit fetch

t-refs-same-start
t-ref-head

t-expect-fail 'check failed (maybe --overwrite is needed' \
t-dgit --quilt=gbp push

t-refs-same-start
t-ref-head

t-dgit --quilt=gbp --overwrite push

t-gbp-pushed-good

echo ok.