chiark / gitweb /
test suite: build-modes-*: Provide stunt dpkg-deb to pass -Znone
[dgit.git] / tests / tests / gdr-subcommands
index 323c1087872e896751c40e610531ffa8fb0cba60..672ddc988511599250ad15768287bd5b55d2dba3 100755 (executable)
@@ -168,6 +168,7 @@ make_check () {
        P*)
                t-dgit -wgf --quilt=nofix quilt-fixup
                git diff HEAD~ debian/patches | egrep .
+               t-gdr-made-patches
                git diff --quiet HEAD~ -- ':.' ':!debian/patches'
                git reset --hard HEAD~
                ;;
@@ -175,6 +176,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 +217,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 +237,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~
 #