chiark / gitweb /
test suite: checkout: Check we end up on the right branch each time
[dgit.git] / tests / tests / mismatches-contents
1 #!/bin/bash
2 set -e
3 . tests/lib
4
5 t-tstunt-parsechangelog
6
7 t-prep-newpackage example 1.0
8
9 ln -s $troot/pkg-srcs/${p}_${v%-*}.orig.tar.* .
10
11 cd $p
12
13 v=1.0-1
14 dch -v $v -D unstable -m 'Make a revision'
15 echo foo >us-file
16 git add us-file debian/changelog
17 git commit -m "Commit $v"
18
19 t-dgit build-source
20
21 t-expect-fail 'debian/TRASH' \
22 t-dgit push --new
23
24 t-ok