diff options
Diffstat (limited to 'test/end-to-end/just-lock/file-imports.sh')
-rw-r--r-- | test/end-to-end/just-lock/file-imports.sh | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/test/end-to-end/just-lock/file-imports.sh b/test/end-to-end/just-lock/file-imports.sh index b20de5c7..71dc5edc 100644 --- a/test/end-to-end/just-lock/file-imports.sh +++ b/test/end-to-end/just-lock/file-imports.sh @@ -24,12 +24,23 @@ readonly OUT="${TEST_TMPDIR}/build-output" readonly REPO_DIRS="${TEST_TMPDIR}/repos" readonly WRKDIR="${PWD}/work" -mkdir -p "${REPO_DIRS}/foo/src" +mkdir -p "${REPO_DIRS}/foo/src/inner" cd "${REPO_DIRS}/foo" cat > repos.json <<'EOF' -{"repositories": {"": {"repository": {"type": "file", "path": "src"}}}} +{ "repositories": + { "": + { "repository": + { "type": "file" + , "path": "src" + , "pragma": {"special": "resolve-completely"} + } + } + } +} EOF -cat > src/TARGETS <<'EOF' +# add symlink to check that special pragma is needed and is inherited in import +ln -s inner/actual_TARGETS src/TARGETS +cat > src/inner/actual_TARGETS <<'EOF' { "": {"type": "file_gen", "name": "foo.txt", "data": "FOO"}} EOF |