From: Ian Jackson Date: Sat, 13 Oct 2018 14:01:14 +0000 (+0100) Subject: test suite: dgit: Test that -wd catches the uncommitted changes X-Git-Tag: archive/debian/8.0~15 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=b58684708ff13f563669835c5a9b429acbdda0ac test suite: dgit: Test that -wd catches the uncommitted changes Signed-off-by: Ian Jackson --- diff --git a/tests/tests/push-source-with-changes b/tests/tests/push-source-with-changes index 26584853..f15ef300 100755 --- a/tests/tests/push-source-with-changes +++ b/tests/tests/push-source-with-changes @@ -20,6 +20,9 @@ t-dgit -C ../${p}_1.0_multi.changes push-source --new # (2) try pushing a source-only changes file +t-expect-fail F:'tree contains uncommitted files' \ +t-dgit --dpkg-buildpackage:-d build-source + t-dgit -wddn --dpkg-buildpackage:-d build-source t-dgit -C ../${p}_1.0_source.changes push-source --new