chiark / gitweb /
Test suite: oldnewtagalt: New test
[dgit.git] / tests / tests / oldnewtagalt
1 #!/bin/bash
2 set -e
3 . tests/lib
4
5 t-setup-import examplegit
6 t-tstunt-parsechangelog
7
8 cd $p
9
10 test-push () {
11         t-commit "$1"
12         t-dgit build-source
13         t-dgit push
14 }
15
16 for count in 1 2; do
17         t-oldtag
18         test-push "oldtag $count"
19
20         t-newtag
21         test-push "newtag $count"
22 done
23
24 echo ok.
25