summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2012-08-28 15:31:29 +0100
committerSam Thursfield <sam.thursfield@codethink.co.uk>2012-08-29 15:16:28 +0100
commitecefb2d1936221ccf21cbad6db2fe73cd229f4f5 (patch)
treebdf91e898213f0daaa7d4c06598a920f096b5d79 /tests
parentf2415383628cb22c5646d96b0e7bbfd6d0629072 (diff)
downloadmorph-ecefb2d1936221ccf21cbad6db2fe73cd229f4f5.tar.gz
Strata contain "chunks", not "sources"
Rename "sources" field of stratum morphologies to "chunks".
Diffstat (limited to 'tests')
-rwxr-xr-xtests/build-stratum-with-submodules.script2
-rw-r--r--tests/hello-stratum.morph2
-rwxr-xr-xtests/morphless-chunks.script2
-rwxr-xr-xtests/setup2
-rwxr-xr-xtests/show-dependencies.setup4
-rwxr-xr-xtests/stratum-overlap-warns.setup2
6 files changed, 7 insertions, 7 deletions
diff --git a/tests/build-stratum-with-submodules.script b/tests/build-stratum-with-submodules.script
index c2d97817..fee57d7c 100755
--- a/tests/build-stratum-with-submodules.script
+++ b/tests/build-stratum-with-submodules.script
@@ -49,7 +49,7 @@ cat <<EOF > "$morphs/submod-stratum.morph"
{
"name": "submod-stratum",
"kind": "stratum",
- "sources": [
+ "chunks": [
{
"name": "parent",
"repo": "test:parent-repo",
diff --git a/tests/hello-stratum.morph b/tests/hello-stratum.morph
index 11ac4e1c..d5b97365 100644
--- a/tests/hello-stratum.morph
+++ b/tests/hello-stratum.morph
@@ -1,7 +1,7 @@
{
"name": "hello",
"kind": "stratum",
- "sources": {
+ "chunks": {
"hello": {
"repo": "hello",
"ref": "master"
diff --git a/tests/morphless-chunks.script b/tests/morphless-chunks.script
index 41137d68..8ef653f6 100755
--- a/tests/morphless-chunks.script
+++ b/tests/morphless-chunks.script
@@ -46,7 +46,7 @@ cat << EOF > alfred.morph
{
"name": "alfred",
"kind": "stratum",
- "sources": [
+ "chunks": [
{
"name": "morphless",
"repo": "test:morphless",
diff --git a/tests/setup b/tests/setup
index 8d3ab5b5..19c400fa 100755
--- a/tests/setup
+++ b/tests/setup
@@ -90,7 +90,7 @@ cat <<EOF > hello-stratum.morph
{
"name": "hello-stratum",
"kind": "stratum",
- "sources": [
+ "chunks": [
{
"name": "hello",
"repo": "test:chunk-repo",
diff --git a/tests/show-dependencies.setup b/tests/show-dependencies.setup
index d30e22bf..924a626b 100755
--- a/tests/show-dependencies.setup
+++ b/tests/show-dependencies.setup
@@ -78,7 +78,7 @@ cat <<EOF > gtk-stack.morph
"kind": "stratum",
"build-depends": [
],
- "sources": [
+ "chunks": [
{
"name": "freetype",
"repo": "test:test-repo",
@@ -200,7 +200,7 @@ cat <<EOF > xfce-core.morph
"build-depends": [
"gtk-stack"
],
- "sources": [
+ "chunks": [
{
"name": "libxfce4util",
"repo": "test:test-repo",
diff --git a/tests/stratum-overlap-warns.setup b/tests/stratum-overlap-warns.setup
index 4dff3ddb..a699bf2d 100755
--- a/tests/stratum-overlap-warns.setup
+++ b/tests/stratum-overlap-warns.setup
@@ -29,7 +29,7 @@ cat <<EOF >overlap-stratum.morph
{
"name": "overlap-stratum",
"kind": "stratum",
- "sources": [
+ "chunks": [
{
"name": "dirs",
"repo": "test:chunk-repo",