diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2018-03-21 22:04:44 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2018-03-22 00:58:40 +0900 |
commit | 54ba73241bb812a3b69e3da5cb8ed8c6d2cfbb38 (patch) | |
tree | d328fa2ae5d5a7eeb6ee56d58fbf142147a16995 /tests/sources/git | |
parent | 0f62dd05c9aaf6cb7e055f6d3cde375aa5998f47 (diff) | |
download | buildstream-54ba73241bb812a3b69e3da5cb8ed8c6d2cfbb38.tar.gz |
tests/sources/git.py: Test that we ignore inconsistent submodules.
Test this at `bst track` time, when encountering a new ref which
adds a .gitmodules file but does not actually add the submodule,
we check that the expected warning is in the stderr and that BuildStream
does not error out for this.
Diffstat (limited to 'tests/sources/git')
-rw-r--r-- | tests/sources/git/template/inconsistent-submodule/.gitmodules | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/sources/git/template/inconsistent-submodule/.gitmodules b/tests/sources/git/template/inconsistent-submodule/.gitmodules new file mode 100644 index 000000000..67271b8a7 --- /dev/null +++ b/tests/sources/git/template/inconsistent-submodule/.gitmodules @@ -0,0 +1,3 @@ +[submodule "farm/pony"] + path = farm/pony + url = git://pony.com |