From 2f538edde0ceb8dc747dd481e2e80ab2f36555d7 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 16 Jun 2018 23:21:23 +0100 Subject: git-debrebase: test suite: gdr-subcommands: provide X checkletter No user yet. I wanted this for a test which actually isn't going to work like that, but I thought I would commit it anyway. Signed-off-by: Ian Jackson --- tests/tests/gdr-subcommands | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 @@ -71,6 +71,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:. \ @@ -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 -- cgit v1.2.3