chiark / gitweb /
dgit: quiltify: Go back to dgit-view if appropriate
[dgit.git] / tests / tests / push-newrepeat
1 #!/bin/bash
2 set -e
3 . tests/lib
4
5 t-tstunt-parsechangelog
6
7 t-prep-newpackage example 1.0
8
9 cd $p
10 git checkout quilt-tip
11 cp $troot/pkg-srcs/${p}_1.0.orig.tar.gz ..
12
13 t-dgit --quilt=smash build-source
14
15 t-expect-fail E:'Push failed, while updating the remote git repository' \
16 t-dgit -cdgit-distro.test-dummy.git-url=file:///dev/enoent/fail \
17        push --new
18
19 t-dgit push --new
20
21 t-ok