chiark / gitweb /
test suite: dgit: Test that -wd catches the uncommitted changes
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 13 Oct 2018 14:01:14 +0000 (15:01 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 13 Oct 2018 15:46:47 +0000 (16:46 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
tests/tests/push-source-with-changes

index 2658485..f15ef30 100755 (executable)
@@ -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