summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2016-09-21 21:19:46 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2016-09-26 01:16:58 +0100
commit25f10ec62284ba2b0a3c21ee9c61b9cdddaf9002 (patch)
tree06c4731baad7411a734bdea35b220641ffb1208c /tests
parent86c44593c1e834384749f81b89b99c5a865b4627 (diff)
Test suite: oldnewtagalt: New test
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/tests/oldnewtagalt25
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/tests/oldnewtagalt b/tests/tests/oldnewtagalt
new file mode 100755
index 0000000..cb270b2
--- /dev/null
+++ b/tests/tests/oldnewtagalt
@@ -0,0 +1,25 @@
+#!/bin/bash
+set -e
+. tests/lib
+
+t-setup-import examplegit
+t-tstunt-parsechangelog
+
+cd $p
+
+test-push () {
+ t-commit "$1"
+ t-dgit build-source
+ t-dgit push
+}
+
+for count in 1 2; do
+ t-oldtag
+ test-push "oldtag $count"
+
+ t-newtag
+ test-push "newtag $count"
+done
+
+echo ok.
+