From: Ian Jackson Date: Thu, 4 Oct 2018 00:55:36 +0000 (+0100) Subject: test suite: gdr-makepatches7: Fix test for broken git-debrebase X-Git-Tag: archive/debian/7.0~8 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=1c46286457e158a84cd6506ee6479a41130c43a9;p=dgit.git test suite: gdr-makepatches7: Fix test for broken git-debrebase dgit should treat git-debrebase not existing the same way as it exiting 7 (which in fact, is the same way it treats it succeeding). We are going to fix that. But first we need to make this test case not expect dgit to break in this situation. To test dgit with an actually *broken* git-debrebase, we specify `false' instead. Signed-off-by: Ian Jackson --- diff --git a/tests/tests/gdr-makepatches7 b/tests/tests/gdr-makepatches7 index d6a5143e..59960e79 100755 --- a/tests/tests/gdr-makepatches7 +++ b/tests/tests/gdr-makepatches7 @@ -27,8 +27,8 @@ t-some-changes for-dgit-fixup m t-git-debrebase -t-expect-fail 'dgit: failed command: test-suite-break-git-debrebase' \ -t-dgit -wgf --git-debrebase=test-suite-break-git-debrebase quilt-fixup +t-expect-fail 'dgit: failed command: false' \ +t-dgit -wgf --git-debrebase=false quilt-fixup t-dgit -wgf --git-debrebase=true quilt-fixup