From 25f10ec62284ba2b0a3c21ee9c61b9cdddaf9002 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 21 Sep 2016 21:19:46 +0100 Subject: Test suite: oldnewtagalt: New test Signed-off-by: Ian Jackson --- tests/tests/oldnewtagalt | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100755 tests/tests/oldnewtagalt (limited to 'tests/tests') 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. + -- cgit v1.2.3