summaryrefslogtreecommitdiff
path: root/tests/tests/overwrite-version
blob: 992509805e34cd5e70b82c246c5e6aa4f1aba9ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash
set -e
. tests/lib

t-setup-import examplegit

cd example

suite=stable

t-commit 'No changes, just send to stable' '' stable

t-dgit -wgf build

t-expect-fail 'HEAD is not a descendant' \
t-dgit push-built stable

t-dgit push-built --overwrite=1.2 stable

t-ok