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 26584853e33269e6d52a16a75f5f0ad04f40b49c..f15ef30038597b272f496e255cf2799481f4e952 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