summaryrefslogtreecommitdiff
path: root/tests/tests/gdr-subcommands
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tests/gdr-subcommands')
-rwxr-xr-xtests/tests/gdr-subcommands10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/tests/gdr-subcommands b/tests/tests/gdr-subcommands
index fdea945..9825156 100755
--- a/tests/tests/gdr-subcommands
+++ b/tests/tests/gdr-subcommands
@@ -72,6 +72,15 @@ subcmd () {
esac
case "$checkletters" in
+ X*)
+ t-expect-fail E:'snags: [0-9]* blockers' \
+ t-git-debrebase $xopts $subcmd
+ xopts+=' --force'
+ next_checkletter
+ ;;
+ esac
+
+ case "$checkletters" in
N*)
t-expect-fail E:. \
t-git-debrebase $xopts $subcmd
@@ -191,6 +200,7 @@ subcmd make-patches sPft "$Ep" uPft "$Ep"
# E:$pat } this is an error (must come first)
# F:$pat } arg is passed to expect-fail
#
+# X should fail due to snags, but succeed when forced
# XX crash out of script for manual debugging
#
# N this is a noop, error unless --noop-ok