chiark / gitweb /
test suite: gdr-makepatches7: Fix test for broken git-debrebase
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 4 Oct 2018 00:55:36 +0000 (01:55 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 4 Oct 2018 14:42:43 +0000 (15:42 +0100)
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 <ijackson@chiark.greenend.org.uk>
tests/tests/gdr-makepatches7

index d6a5143ee55fc00005c04203c73f9ce50d199b59..59960e7921f0833ec774a4881719a7f2e5ae1018 100755 (executable)
@@ -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