summaryrefslogtreecommitdiff
path: root/tests/tests/push-newrepeat
blob: 87fcb35695b6f910b73be5d42268f7d98d319d40 (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 --new

t-dgit push --new

t-ok