X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=blobdiff_plain;f=tests%2Ftests%2Fgdr-subcommands;h=123a0d9f5f20a997559977a43b5380ed17bd5657;hp=9d50b6c04f7db9134b4752ae1565854577be6bcc;hb=1951e44b06b3e179b508bcd139d8758c250e35e2;hpb=6b3cdcf0d595efd96bc8c4220df87f7fd5aaef76 diff --git a/tests/tests/gdr-subcommands b/tests/tests/gdr-subcommands index 9d50b6c0..123a0d9f 100755 --- a/tests/tests/gdr-subcommands +++ b/tests/tests/gdr-subcommands @@ -63,22 +63,24 @@ subcmd () { before=before-$work git branch $before + local xopts='' + case "$checkletters" in XX*) fail "$checkletters" # for debugging ;; N*) t-expect-fail E:. \ - t-git-debrebase $subcmd - t-git-debrebase --noop-ok $subcmd + t-git-debrebase $xopts $subcmd + t-git-debrebase $xopts --noop-ok $subcmd ;; [EF]:*) t-expect-fail "$checkletters" \ - t-git-debrebase $subcmd + t-git-debrebase $xopts $subcmd continue ;; *) - t-git-debrebase $subcmd + t-git-debrebase $xopts $subcmd ;; esac @@ -182,6 +184,8 @@ subcmd make-patches sPft "$Ep" uPft "$Ep" # E:$pat } this is an error (must come first) # F:$pat } arg is passed to expect-fail # +# XX crash out of script for manual debugging +# # N this is a noop, error unless --noop-ok # n this is a silent noop # both of these imply tf; but, specify also one of u s