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

t-tstunt-parsechangelog

t-prep-newpackage example 1.0

cd $p
git checkout quilt-tip
cp $troot/pkg-srcs/${p}_1.0.orig.tar.gz ..

t-dgit --quilt=smash build-source

t-expect-fail E:'Push failed, while updating the remote git repository' \
t-dgit -cdgit-distro.test-dummy.git-url=file:///dev/enoent/fail \
       push-built --new

t-dgit push-built --new --force-reusing-version

t-ok