chiark / gitweb /
test suite: gdr-makepatches7: Test dgit with missing git-debrebase
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 4 Oct 2018 00:49:55 +0000 (01:49 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 4 Oct 2018 15:33:23 +0000 (16:33 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
tests/tests/gdr-makepatches7

index 59960e7..9356987 100755 (executable)
@@ -30,8 +30,12 @@ t-git-debrebase
 t-expect-fail 'dgit: failed command: false' \
 t-dgit -wgf --git-debrebase=false quilt-fixup
 
+git branch before-gdr-true
 t-dgit -wgf --git-debrebase=true quilt-fixup
 
+git reset --hard before-gdr-true
+t-dgit -wgf --git-debrebase=no-such-command-exists quilt-fixup
+
 t-some-changes for-make-patches-fails-then-dgit-fixup m
 
 t-expect-fail 'Patch export produced patch amendments' \