chiark / gitweb /
git-debrebase: test suite: gdr-subcommands: honour new $xopts
[dgit.git] / tests / tests / gdr-subcommands
index d988321..123a0d9 100755 (executable)
@@ -63,22 +63,24 @@ subcmd () {
                before=before-$work
                git branch $before
 
                before=before-$work
                git branch $before
 
+               local xopts=''
+
                case "$checkletters" in
                XX*)
                        fail "$checkletters" # for debugging
                        ;;
                N*)
                        t-expect-fail E:. \
                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" \
                        ;;
                [EF]:*)
                        t-expect-fail "$checkletters" \
-                       t-git-debrebase $subcmd
+                       t-git-debrebase $xopts $subcmd
                        continue
                        ;;
                *)
                        continue
                        ;;
                *)
-                       t-git-debrebase $subcmd
+                       t-git-debrebase $xopts $subcmd
                        ;;
                esac
 
                        ;;
                esac