summaryrefslogtreecommitdiff
path: root/tests/tests/overwrite-splitbrains
blob: 725357d0790f581e5d29285297dd4f1c263de1b8 (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 --dgit-view-save=split.b 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 --dgit-view-save=split.p push

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

t-dgit --quilt=gbp --dgit-view-save=split.p --overwrite push

t-gbp-pushed-good

echo ok.