diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2018-10-13 15:01:14 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2018-10-13 16:46:47 +0100 |
commit | b58684708ff13f563669835c5a9b429acbdda0ac (patch) | |
tree | 29bd03263ccad2bcc63f92a128b694c72f2fbcbe | |
parent | 79514d6b2708624a62c0e72c2ff0565682b310bf (diff) |
test suite: dgit: Test that -wd catches the uncommitted changes
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
-rwxr-xr-x | tests/tests/push-source-with-changes | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/tests/push-source-with-changes b/tests/tests/push-source-with-changes index 2658485..f15ef30 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 |