summaryrefslogtreecommitdiff
path: root/tests.branching/tag-works-with-multiple-morphs-repos.stdout
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2013-08-13 16:40:37 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2013-08-14 16:59:36 +0000
commit5374f53985d357255126a917b107ce78ece5941d (patch)
tree1ca7fe5a228c1d89a4d8e19f3885bd00966e98ad /tests.branching/tag-works-with-multiple-morphs-repos.stdout
parent1c44afdafb32a803e2578ace2545c2fe36373538 (diff)
downloadmorph-5374f53985d357255126a917b107ce78ece5941d.tar.gz
Fix test suite to patch YAML instead of JSON
I shouldn't be doing this in the middle of refactoring, but trying to get the new code to emit exactly the right kind of JSON is too much pain, and these tests need to be rewritten to use YAML in the near future anyway (we'll drop JSON support eventually), so I don't want to spend more time on this than necessary. The changes in this commit convert morphologies in JSON to YAML, and fix test code that modifies the morphologies to work with the YAML. There is probably more JSON lurking about.
Diffstat (limited to 'tests.branching/tag-works-with-multiple-morphs-repos.stdout')
-rw-r--r--tests.branching/tag-works-with-multiple-morphs-repos.stdout202
1 files changed, 87 insertions, 115 deletions
diff --git a/tests.branching/tag-works-with-multiple-morphs-repos.stdout b/tests.branching/tag-works-with-multiple-morphs-repos.stdout
index 192aca56..38328c6d 100644
--- a/tests.branching/tag-works-with-multiple-morphs-repos.stdout
+++ b/tests.branching/tag-works-with-multiple-morphs-repos.stdout
@@ -4,82 +4,68 @@ Date: Tue Jul 31 16:51:54 2012 +0000
create tag
-commit f629bea191ba12b1d85e5b41e1adc6d1c73715c9
+commit ede2d4bc8b9a806720d195cb5611c576a055adfd
Author: developer <developer@example.com>
Date: Tue Jul 31 16:51:54 2012 +0000
create tag
diff --git a/stratum1.morph b/stratum1.morph
-index 93a2d04..bf622db 100644
+index c1ef125..3c18ae5 100644
--- a/stratum1.morph
+++ b/stratum1.morph
-@@ -4,8 +4,10 @@
- "build-depends": [
- {
- "morph": "stratum3",
-- "repo": "repos:morphs2",
-- "ref": "master"
-+ "repo": "repos:morphs1",
-+ "ref": "tag-across-multiple-repos",
-+ "unpetrify-ref": "master",
-+ "unpetrify-repo": "repos:morphs2"
- }
- ]
- }
+@@ -2,5 +2,7 @@ name: stratum1
+ kind: stratum
+ build-depends:
+ - morph: stratum3
+- ref: master
+- repo: repos:morphs2
++ ref: tag-across-multiple-repos
++ repo: repos:morphs1
++ unpetrify-ref: master
++ unpetrify-repo: repos:morphs2
diff --git a/stratum2.morph b/stratum2.morph
new file mode 100644
-index 0000000..d27599c
+index 0000000..2546465
--- /dev/null
+++ b/stratum2.morph
-@@ -0,0 +1,13 @@
-+{
-+ "name": "stratum2",
-+ "kind": "stratum",
-+ "build-depends": [
-+ {
-+ "morph": "stratum3",
-+ "repo": "repos:morphs1",
-+ "ref": "tag-across-multiple-repos",
-+ "unpetrify-ref": "master",
-+ "unpetrify-repo": "repos:morphs2"
-+ }
-+ ]
-+}
+@@ -0,0 +1,8 @@
++name: stratum2
++kind: stratum
++build-depends:
++- morph: stratum3
++ repo: repos:morphs1
++ ref: tag-across-multiple-repos
++ unpetrify-ref: master
++ unpetrify-repo: repos:morphs2
diff --git a/stratum3.morph b/stratum3.morph
new file mode 100644
-index 0000000..a735127
+index 0000000..d510d1b
--- /dev/null
+++ b/stratum3.morph
-@@ -0,0 +1,4 @@
-+{
-+ "name": "stratum3",
-+ "kind": "stratum"
-+}
+@@ -0,0 +1,2 @@
++kind: stratum
++name: stratum3
diff --git a/test-system.morph b/test-system.morph
-index 340fbb9..aec2397 100644
+index cdd8d64..b86854a 100644
--- a/test-system.morph
+++ b/test-system.morph
-@@ -8,12 +8,15 @@
- {
- "morph": "stratum1",
- "repo": "repos:morphs1",
-- "ref": "master"
-+ "ref": "tag-across-multiple-repos",
-+ "unpetrify-ref": "master"
- },
- {
- "morph": "stratum2",
-- "repo": "repos:morphs2",
-- "ref": "master"
-+ "repo": "repos:morphs1",
-+ "ref": "tag-across-multiple-repos",
-+ "unpetrify-ref": "master",
-+ "unpetrify-repo": "repos:morphs2"
- }
- ]
- }
-commit f629bea191ba12b1d85e5b41e1adc6d1c73715c9
+@@ -5,8 +5,11 @@ arch: x86_64
+ disk-size: 1G
+ strata:
+ - morph: stratum1
+- ref: master
++ ref: tag-across-multiple-repos
+ repo: repos:morphs1
++ unpetrify-ref: master
+ - morph: stratum2
+- ref: master
+- repo: repos:morphs2
++ ref: tag-across-multiple-repos
++ repo: repos:morphs1
++ unpetrify-ref: master
++ unpetrify-repo: repos:morphs2
+commit ede2d4bc8b9a806720d195cb5611c576a055adfd
Author: developer <developer@example.com>
AuthorDate: Tue Jul 31 16:51:54 2012 +0000
Commit: developer <developer@example.com>
@@ -88,77 +74,63 @@ CommitDate: Tue Jul 31 16:51:54 2012 +0000
create tag
---
stratum1.morph | 6 ++++--
- stratum2.morph | 13 +++++++++++++
- stratum3.morph | 4 ++++
+ stratum2.morph | 8 ++++++++
+ stratum3.morph | 2 ++
test-system.morph | 9 ++++++---
- 4 files changed, 27 insertions(+), 5 deletions(-)
+ 4 files changed, 20 insertions(+), 5 deletions(-)
diff --git a/stratum1.morph b/stratum1.morph
-index 93a2d04..bf622db 100644
+index c1ef125..3c18ae5 100644
--- a/stratum1.morph
+++ b/stratum1.morph
-@@ -4,8 +4,10 @@
- "build-depends": [
- {
- "morph": "stratum3",
-- "repo": "repos:morphs2",
-- "ref": "master"
-+ "repo": "repos:morphs1",
-+ "ref": "tag-across-multiple-repos",
-+ "unpetrify-ref": "master",
-+ "unpetrify-repo": "repos:morphs2"
- }
- ]
- }
+@@ -2,5 +2,7 @@ name: stratum1
+ kind: stratum
+ build-depends:
+ - morph: stratum3
+- ref: master
+- repo: repos:morphs2
++ ref: tag-across-multiple-repos
++ repo: repos:morphs1
++ unpetrify-ref: master
++ unpetrify-repo: repos:morphs2
diff --git a/stratum2.morph b/stratum2.morph
new file mode 100644
-index 0000000..d27599c
+index 0000000..2546465
--- /dev/null
+++ b/stratum2.morph
-@@ -0,0 +1,13 @@
-+{
-+ "name": "stratum2",
-+ "kind": "stratum",
-+ "build-depends": [
-+ {
-+ "morph": "stratum3",
-+ "repo": "repos:morphs1",
-+ "ref": "tag-across-multiple-repos",
-+ "unpetrify-ref": "master",
-+ "unpetrify-repo": "repos:morphs2"
-+ }
-+ ]
-+}
+@@ -0,0 +1,8 @@
++name: stratum2
++kind: stratum
++build-depends:
++- morph: stratum3
++ repo: repos:morphs1
++ ref: tag-across-multiple-repos
++ unpetrify-ref: master
++ unpetrify-repo: repos:morphs2
diff --git a/stratum3.morph b/stratum3.morph
new file mode 100644
-index 0000000..a735127
+index 0000000..d510d1b
--- /dev/null
+++ b/stratum3.morph
-@@ -0,0 +1,4 @@
-+{
-+ "name": "stratum3",
-+ "kind": "stratum"
-+}
+@@ -0,0 +1,2 @@
++kind: stratum
++name: stratum3
diff --git a/test-system.morph b/test-system.morph
-index 340fbb9..aec2397 100644
+index cdd8d64..b86854a 100644
--- a/test-system.morph
+++ b/test-system.morph
-@@ -8,12 +8,15 @@
- {
- "morph": "stratum1",
- "repo": "repos:morphs1",
-- "ref": "master"
-+ "ref": "tag-across-multiple-repos",
-+ "unpetrify-ref": "master"
- },
- {
- "morph": "stratum2",
-- "repo": "repos:morphs2",
-- "ref": "master"
-+ "repo": "repos:morphs1",
-+ "ref": "tag-across-multiple-repos",
-+ "unpetrify-ref": "master",
-+ "unpetrify-repo": "repos:morphs2"
- }
- ]
- }
+@@ -5,8 +5,11 @@ arch: x86_64
+ disk-size: 1G
+ strata:
+ - morph: stratum1
+- ref: master
++ ref: tag-across-multiple-repos
+ repo: repos:morphs1
++ unpetrify-ref: master
+ - morph: stratum2
+- ref: master
+- repo: repos:morphs2
++ ref: tag-across-multiple-repos
++ repo: repos:morphs1
++ unpetrify-ref: master
++ unpetrify-repo: repos:morphs2