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

t-tstunt-parsechangelog

t-prep-newpackage example 1.0

ln -s $troot/pkg-srcs/${p}_${v%-*}.orig.tar.* .

cd $p

v=1.0-1
dch -v $v -D unstable -m 'Make a revision'
echo foo >us-file
git add us-file debian/changelog
git commit -m "Commit $v"

t-dgit build-source

t-expect-fail 'debian/TRASH' \
t-dgit push --new

t-ok