summaryrefslogtreecommitdiff
path: root/tests.as-root/metadata-includes-morph-version.setup
diff options
context:
space:
mode:
authorAdam Coldrick <adam.coldrick@codethink.co.uk>2014-08-08 11:10:25 +0000
committerAdam Coldrick <adam.coldrick@codethink.co.uk>2014-08-14 13:28:50 +0000
commitbba1d9e9f17edf885e857d0ddcf5b6f41e956b10 (patch)
treea5e5da0b1c02c7c39679d5d8fbba7599b71ab67b /tests.as-root/metadata-includes-morph-version.setup
parenta87d850a3b96010dd272bba1624fcf0b230afc6d (diff)
downloadmorph-bba1d9e9f17edf885e857d0ddcf5b6f41e956b10.tar.gz
cmdtests: Use YAML not JSON to represent morphologies
Diffstat (limited to 'tests.as-root/metadata-includes-morph-version.setup')
-rwxr-xr-xtests.as-root/metadata-includes-morph-version.setup19
1 files changed, 6 insertions, 13 deletions
diff --git a/tests.as-root/metadata-includes-morph-version.setup b/tests.as-root/metadata-includes-morph-version.setup
index d7fc96e3..e4557302 100755
--- a/tests.as-root/metadata-includes-morph-version.setup
+++ b/tests.as-root/metadata-includes-morph-version.setup
@@ -24,19 +24,12 @@ morphsrepo="$DATADIR/morphs"
cd "$morphsrepo"
git checkout -b tarball
cat <<EOF > hello-tarball.morph
-{
- "name": "hello-tarball",
- "kind": "system",
- "arch": "$("$SRCDIR/scripts/test-morph" print-architecture)",
- "strata": [
- {
- "morph": "hello-stratum",
- },
- {
- "morph": "linux-stratum",
- }
- ]
-}
+name: hello-tarball
+kind: system
+arch: $("$SRCDIR/scripts/test-morph" print-architecture)
+strata:
+ - morph: hello-stratum
+ - morph: linux-stratum
EOF
git add hello-tarball.morph