chiark / gitweb /
Test suite: Test pushing with forcing old and new tag format
[dgit.git] / tests / lib
index 4bdd1e8328f94d48ede906c25725fb8f66950c5f..38605bd9359e2f9200b1d4737ef3f235f60887e7 100644 (file)
--- a/tests/lib
+++ b/tests/lib
@@ -614,6 +614,14 @@ t-drs () {
        ln -sf /bin/true $drs_dispatch/policy-hook
 }
 
+t-newtag () {
+ export tagpfx=archive/test-dummy
+ t-git-config dgit-distro.test-dummy.dgit-tag-format new
+}
+t-oldtag () {
+ t-git-config dgit-distro.test-dummy.dgit-tag-format old
+}
+
 t-dsd () {
        t-drs
  t-git-config dgit-distro.test-dummy.ssh "$troot/dsd-ssh"