chiark / gitweb /
git-debrebase: test suite: gdr-subcommands: test forget
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 24 Aug 2018 20:37:16 +0000 (21:37 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 24 Aug 2018 20:37:16 +0000 (21:37 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
tests/tests/gdr-subcommands

index 323c108..4197ab0 100755 (executable)
@@ -175,6 +175,11 @@ make_check () {
                git diff --quiet HEAD refs/heads/$before -- ':.' ':!debian/patches'
                t-gdr-good laundered
                ;;
+       A*)
+               t-refs-notexist \
+                       refs/ffq-prev/heads/$work \
+                       refs/debrebase-last/heads/$work
+               ;;
        t*)
                git diff --quiet HEAD refs/heads/$before
                ;;
@@ -211,6 +216,7 @@ subcmd      quick           ns      Sl      Sltf    Sl      n
 subcmd conclude        "$Ec"   "$Ec"   Sltf    Sl      N
 subcmd scrap           Ns      Ns      Z       Z       N
 subcmd make-patches    sPft    "$Ep"   uPft    "$Ep"   Pn
+subcmd  forget-was-ever-debrebase nA nA        nA      nA      nA
 #
 # result codes, each one is a check:
 #   E:$pat     } this is an error (must come first)
@@ -230,6 +236,7 @@ subcmd      make-patches    sPft    "$Ep"   uPft    "$Ep"   Pn
 #   s          result is stitched, debrebase-last exists and is unchanged
 #   S          result is stitch just made, remaining letters apply to result~
 #   Z          result is rewind to before changes made
+#   A          no ffq-prev or debrebase-last refs ("Amnesia")
 #
 #   P          result is add-patches, remaining letters apply to result~
 #