diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2013-02-07 15:16:24 +0000 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2013-02-13 13:29:00 +0000 |
commit | b1c1d4877dfc305475b2b7b555477ba1332e0545 (patch) | |
tree | 84877405c6c9a501ca3d994567afb1841c985eb5 /tests.as-root/setup | |
parent | 05a93a1ae64d63aae3816a9d328d9de656cfb0d3 (diff) | |
download | morph-b1c1d4877dfc305475b2b7b555477ba1332e0545.tar.gz |
Amend tests to trigger failure to recursively update strata
Diffstat (limited to 'tests.as-root/setup')
-rwxr-xr-x | tests.as-root/setup | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/tests.as-root/setup b/tests.as-root/setup index 285a3143..03a438e0 100755 --- a/tests.as-root/setup +++ b/tests.as-root/setup @@ -79,6 +79,22 @@ git commit --quiet -m "add a hello world program and morph" git checkout --quiet master +# Create tools repository, so there is an extra layer of build-depends +toolsrepo="$DATADIR/tools-repo" +mkdir -p "$toolsrepo" +cd "$toolsrepo" +git init --quiet +cat <<'EOF' >tools.morph +name: tools +kind: chunk +build-commands: + - echo 'echo dummy strace' >strace +install-commands: + - mkdir -p "$DESTDIR/bin" + - install strace "$DESTDIR/bin/strace" +EOF +git add tools.morph +git commit --quiet -m "add morphology" # Create morph repository. @@ -98,6 +114,21 @@ chunks: EOF git add hello-stratum.morph +cat <<EOF > tools-stratum.morph +name: tools-stratum +kind: stratum +build-depends: + - morph: linux-stratum + repo: test:morphs + ref: master +chunks: + - name: tools + repo: test:tools-repo + ref: master + build-depends: [] +EOF +git add tools-stratum.morph + cat <<EOF > hello-system.morph name: hello-system kind: system @@ -139,6 +170,9 @@ strata: - morph: linux-stratum repo: test:morphs ref: master + - morph: tools-stratum + repo: test:morphs + ref: master EOF git add linux-system.morph |