summaryrefslogtreecommitdiff
path: root/tests.branching
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2013-09-16 17:41:27 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2013-09-16 17:41:27 +0000
commit86209e1f346fd24119f31872b589a70533523585 (patch)
treeff5ca25e6309efb00a95c34dbee4b53c29ee0c96 /tests.branching
parent86d3f0110602fb8eea1d00e65abb3025760c6232 (diff)
parent1bedfa7749300da167808b837d2a8968df43eeb3 (diff)
downloadmorph-86209e1f346fd24119f31872b589a70533523585.tar.gz
Merge branch 'baserock/richardmaw/S8717/refactor-petrify-v4'
Reviewed-by: Lars Wirzenius Reviewed-by: Daniel Silverstone Daniel gave his +1 with the caveat that he would like tests for petrifying a system branch other than master.
Diffstat (limited to 'tests.branching')
-rw-r--r--tests.branching/edit-updates-stratum-build-depends.stdout16
-rw-r--r--tests.branching/edit-updates-stratum.stdout10
-rw-r--r--tests.branching/workflow.stdout1
3 files changed, 17 insertions, 10 deletions
diff --git a/tests.branching/edit-updates-stratum-build-depends.stdout b/tests.branching/edit-updates-stratum-build-depends.stdout
index 00b303bd..1c6eb8e3 100644
--- a/tests.branching/edit-updates-stratum-build-depends.stdout
+++ b/tests.branching/edit-updates-stratum-build-depends.stdout
@@ -1,46 +1,50 @@
diff --git a/hello-stratum.morph b/hello-stratum.morph
-index 73ed482..3731d63 100644
+index 73ed482..475fe0f 100644
--- a/hello-stratum.morph
+++ b/hello-stratum.morph
-@@ -2,7 +2,7 @@ chunks:
+@@ -2,7 +2,8 @@ chunks:
- build-depends: []
build-mode: test
name: hello
- ref: master
+ ref: newbranch
repo: test:hello
++ unpetrify-ref: master
kind: stratum
name: hello-stratum
diff --git a/hello-system.morph b/hello-system.morph
-index 721473c..94c1837 100644
+index 721473c..1537f53 100644
--- a/hello-system.morph
+++ b/hello-system.morph
-@@ -3,9 +3,8 @@ kind: system
+@@ -3,9 +3,9 @@ kind: system
name: hello-system
strata:
- morph: hello-stratum
- ref: master
+ ref: newbranch
repo: test:morphs
++ unpetrify-ref: master
- morph: xyzzy-stratum
ref: master
repo: test:morphs
-system-kind: rootfs-tarball
diff --git a/xyzzy-stratum.morph b/xyzzy-stratum.morph
-index e302037..97f7208 100644
+index e302037..bcf5b57 100644
--- a/xyzzy-stratum.morph
+++ b/xyzzy-stratum.morph
-@@ -1,11 +1,11 @@
+@@ -1,11 +1,13 @@
build-depends:
- morph: hello-stratum
- ref: master
+ ref: newbranch
repo: test:morphs
++ unpetrify-ref: master
chunks:
- build-depends: []
name: hello
- ref: master
+ ref: newbranch
repo: test:hello
++ unpetrify-ref: master
kind: stratum
name: xyzzy-stratum
diff --git a/tests.branching/edit-updates-stratum.stdout b/tests.branching/edit-updates-stratum.stdout
index e84dbe09..32eb820d 100644
--- a/tests.branching/edit-updates-stratum.stdout
+++ b/tests.branching/edit-updates-stratum.stdout
@@ -1,21 +1,22 @@
diff --git a/hello-stratum.morph b/hello-stratum.morph
-index 73ed482..3731d63 100644
+index 73ed482..475fe0f 100644
--- a/hello-stratum.morph
+++ b/hello-stratum.morph
-@@ -2,7 +2,7 @@ chunks:
+@@ -2,7 +2,8 @@ chunks:
- build-depends: []
build-mode: test
name: hello
- ref: master
+ ref: newbranch
repo: test:hello
++ unpetrify-ref: master
kind: stratum
name: hello-stratum
diff --git a/hello-system.morph b/hello-system.morph
-index b0fed3b..801a955 100644
+index b0fed3b..199c924 100644
--- a/hello-system.morph
+++ b/hello-system.morph
-@@ -3,6 +3,5 @@ kind: system
+@@ -3,6 +3,6 @@ kind: system
name: hello-system
strata:
- morph: hello-stratum
@@ -23,3 +24,4 @@ index b0fed3b..801a955 100644
+ ref: newbranch
repo: test:morphs
-system-kind: rootfs-tarball
++ unpetrify-ref: master
diff --git a/tests.branching/workflow.stdout b/tests.branching/workflow.stdout
new file mode 100644
index 00000000..65985486
--- /dev/null
+++ b/tests.branching/workflow.stdout
@@ -0,0 +1 @@
+WARNING: chunk "hello-system.hello-stratum.hello" is now petrified