diff options
-rwxr-xr-x | tests.as-root/setup | 7 | ||||
-rwxr-xr-x | tests.as-root/tarball-image-is-sensible.setup | 6 |
2 files changed, 13 insertions, 0 deletions
diff --git a/tests.as-root/setup b/tests.as-root/setup index a69dd94e..d3ba7ef4 100755 --- a/tests.as-root/setup +++ b/tests.as-root/setup @@ -129,6 +129,13 @@ cat <<EOF > linux-stratum.morph { "name": "linux-stratum", "kind": "stratum", + "build-depends": [ + { + "morph": "hello-stratum", + "repo": "test:morphs", + "ref": "master" + } + ], "chunks": [ { "name": "linux", diff --git a/tests.as-root/tarball-image-is-sensible.setup b/tests.as-root/tarball-image-is-sensible.setup index 322038ba..c1c88993 100755 --- a/tests.as-root/tarball-image-is-sensible.setup +++ b/tests.as-root/tarball-image-is-sensible.setup @@ -69,6 +69,12 @@ cat <<EOF > hello-tarball.morph EOF git add hello-tarball.morph +# Change build-depends ref of hello-stratum from master to tarball-links +sed -i linux-stratum.morph \ + -e '/"build-depends": \[/,/\]/ s/"ref": "master"/"ref": "tarball-links"/' + +git add linux-stratum.morph + cat <<EOF > link-stratum.morph { "name": "link-stratum", |