diff options
Diffstat (limited to 'tests.branching')
-rwxr-xr-x | tests.branching/petrify.script | 6 | ||||
-rw-r--r-- | tests.branching/petrify.stdout | 15 |
2 files changed, 21 insertions, 0 deletions
diff --git a/tests.branching/petrify.script b/tests.branching/petrify.script index fe516ffb..0b5ff018 100755 --- a/tests.branching/petrify.script +++ b/tests.branching/petrify.script @@ -34,4 +34,10 @@ cd "$DATADIR/workspace" cd master/baserock:morphs "$SRCDIR/scripts/test-morph" petrify +echo "Petrified:" +cat hello-stratum.morph + +"$SRCDIR/scripts/test-morph" unpetrify +echo +echo "Unpetrified:" cat hello-stratum.morph diff --git a/tests.branching/petrify.stdout b/tests.branching/petrify.stdout index 4aa2b2ea..249a8f59 100644 --- a/tests.branching/petrify.stdout +++ b/tests.branching/petrify.stdout @@ -1,3 +1,4 @@ +Petrified: { "name": "hello-stratum", "kind": "stratum", @@ -11,3 +12,17 @@ } ] } + +Unpetrified: +{ + "name": "hello-stratum", + "kind": "stratum", + "chunks": [ + { + "name": "hello", + "repo": "baserock:hello", + "ref": "master", + "build-depends": [] + } + ] +} |