aboutsummaryrefslogtreecommitdiff
path: root/tests/release.testscript
diff options
context:
space:
mode:
Diffstat (limited to 'tests/release.testscript')
-rw-r--r--tests/release.testscript31
1 files changed, 24 insertions, 7 deletions
diff --git a/tests/release.testscript b/tests/release.testscript
index 7ed968f..9b77674 100644
--- a/tests/release.testscript
+++ b/tests/release.testscript
@@ -84,12 +84,12 @@ log2 = $gp2 log '--pretty=format:"%d %s"'
EOO
cat prj2/manifest >>~%EOO%
- %.*
- name: prj
- version: 0.2.0-a.0.z
- summary: prj executable
- %.*
- EOO
+ %.*
+ name: prj
+ version: 0.2.0-a.0.z
+ summary: prj executable
+ %.*
+ EOO
}
: alpha
@@ -499,7 +499,7 @@ log2 = $gp2 log '--pretty=format:"%d %s"'
+echo '' >+ prj/manifest
+$gp add manifest
- : default
+ : normal
:
{
$clone_repos;
@@ -516,6 +516,23 @@ log2 = $gp2 log '--pretty=format:"%d %s"'
EOO
}
+ : stub
+ :
+ {
+ $clone_root_repos;
+
+ sed -i -e 's/^(version:) .*$/\1 0/' prj/manifest;
+ $gp add manifest;
+
+ $* --revision;
+
+ $clone2;
+ $log2 >>:~%EOO%
+ % \(HEAD -> master, tag: v0, \.*\) Release version 0\+1%d
+ Create
+ EOO
+ }
+
: no-tag
:
{