From b58684708ff13f563669835c5a9b429acbdda0ac Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 13 Oct 2018 15:01:14 +0100 Subject: [PATCH] test suite: dgit: Test that -wd catches the uncommitted changes Signed-off-by: Ian Jackson --- tests/tests/push-source-with-changes | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.30.2