diff options
author | Adam Coldrick <adam.coldrick@codethink.co.uk> | 2014-08-08 11:10:25 +0000 |
---|---|---|
committer | Adam Coldrick <adam.coldrick@codethink.co.uk> | 2014-08-14 13:28:50 +0000 |
commit | bba1d9e9f17edf885e857d0ddcf5b6f41e956b10 (patch) | |
tree | a5e5da0b1c02c7c39679d5d8fbba7599b71ab67b /tests.as-root/metadata-includes-repo-alias.setup | |
parent | a87d850a3b96010dd272bba1624fcf0b230afc6d (diff) | |
download | morph-bba1d9e9f17edf885e857d0ddcf5b6f41e956b10.tar.gz |
cmdtests: Use YAML not JSON to represent morphologies
Diffstat (limited to 'tests.as-root/metadata-includes-repo-alias.setup')
-rwxr-xr-x | tests.as-root/metadata-includes-repo-alias.setup | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/tests.as-root/metadata-includes-repo-alias.setup b/tests.as-root/metadata-includes-repo-alias.setup index d7fc96e3..e4557302 100755 --- a/tests.as-root/metadata-includes-repo-alias.setup +++ b/tests.as-root/metadata-includes-repo-alias.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 |