diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/end-to-end/computed-roots/mr_computed_setup.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/end-to-end/computed-roots/mr_computed_setup.sh b/test/end-to-end/computed-roots/mr_computed_setup.sh index 47b17e42..9e3468df 100644 --- a/test/end-to-end/computed-roots/mr_computed_setup.sh +++ b/test/end-to-end/computed-roots/mr_computed_setup.sh @@ -92,6 +92,10 @@ cat > repo-config.json <<EOF , "config": {"COUNT": "12"} } } + , "with_overlays": + { "repository": "base" + , "target_root": "derived" + } } } EOF @@ -128,4 +132,15 @@ echo [ "$(cat "${OUT}/other-derived/out" | wc -l)" -eq 78 ] +echo +echo Building with overlays +echo +"${JUST_MR}" --norc --local-build-root "${LBRDIR}" -C repo-config.json \ + --main 'with_overlays' --just "${JUST}" \ + install -L '["env", "PATH='"${PATH}"'"]' \ + -o "${OUT}/with-overlays" 2>&1 +echo + +[ "$(cat "${OUT}/with-overlays/out" | wc -l)" -eq 55 ] + echo OK |