chiark / gitweb /
git-debrebase: test suite: gdr-subcommands: Better error handling/debugging
[dgit.git] / tests / tests / gdr-subcommands
index 371ad34..9dc99fa 100755 (executable)
@@ -59,6 +59,9 @@ subcmd () {
                git branch $before
 
                case "$checkletters" in
+               XX*)
+                       fail "$checkletters" # for debugging
+                       ;;
                N*)
                        t-expect-fail E:. \
                        t-git-debrebase $subcmd
@@ -145,6 +148,9 @@ make_check () {
        f*)
                t-has-ancestor HEAD refs/heads/$before
                ;;
+       *)
+               fail "$1"
+               ;;
        esac
 }