diff options
Diffstat (limited to 'test/end-to-end/just-lock/git-imports.sh')
-rw-r--r-- | test/end-to-end/just-lock/git-imports.sh | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/test/end-to-end/just-lock/git-imports.sh b/test/end-to-end/just-lock/git-imports.sh index f808bb79..14e390ff 100644 --- a/test/end-to-end/just-lock/git-imports.sh +++ b/test/end-to-end/just-lock/git-imports.sh @@ -28,11 +28,22 @@ readonly WRKDIR="${PWD}/work" mkdir -p "${REPO_DIRS}/foo/src" cd "${REPO_DIRS}/foo" cat > repos.json <<'EOF' -{"repositories": {"": {"repository": {"type": "file", "path": "src"}}}} +{ "repositories": + { "": + { "repository": + { "type": "file" + , "path": "src" + , "pragma": {"special": "ignore"} + } + } + } +} EOF cat > src/TARGETS <<'EOF' { "": {"type": "file_gen", "name": "foo.txt", "data": "FOO"}} EOF +# add symlink to check that special pragma is needed and is inherited in import +ln -s ../../../nonexistent src/causes_fail git init git checkout --orphan foomaster git config user.name 'N.O.Body' |