diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2016-10-10 00:57:48 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2016-10-11 00:51:52 +0100 |
commit | 832ec3085037e7a9ad1a13ca2fce7209984852dc (patch) | |
tree | 67acf73f5e5a824268f617036d32e4837d2036d7 /tests/tests/mismatches-contents | |
parent | 7fdea3dc94e1ea2615b304a7833b951425b2357f (diff) |
Test suite: mismatches-contents: New test
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests/tests/mismatches-contents')
-rwxr-xr-x | tests/tests/mismatches-contents | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/tests/mismatches-contents b/tests/tests/mismatches-contents new file mode 100755 index 0000000..b7c53f2 --- /dev/null +++ b/tests/tests/mismatches-contents @@ -0,0 +1,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. |