From 06163c6846f67fc9469c07c00611495f373f510e Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 22 Apr 2018 23:22:24 +0100 Subject: git-debrebase: test suite: gdr-subcommands: Better error handling/debugging Signed-off-by: Ian Jackson --- tests/tests/gdr-subcommands | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests') diff --git a/tests/tests/gdr-subcommands b/tests/tests/gdr-subcommands index 371ad34..9dc99fa 100755 --- a/tests/tests/gdr-subcommands +++ b/tests/tests/gdr-subcommands @@ -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 } -- cgit v1.2.3