blob: b7c53f2397d7bdb5e2261144e94f02525f0ce721 (
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
echo ok.
|