testing/tests/download: test git submodules
authorRicardo Martincoski <ricardo.martincoski@datacom.ind.br>
Sat, 12 May 2018 02:58:30 +0000 (23:58 -0300)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Wed, 6 Feb 2019 08:56:58 +0000 (09:56 +0100)
commit9cc7a12bdeecfdf3d0d0c3b8ebc1e41069e3ff25
tree7f9fb006b8769139bf09d6c623c59b4c25bb56a0
parenta9219660d30ff30331e15e078a1643001a072ab6
testing/tests/download: test git submodules

Add two submodules as static repos, add a branch to the main static repo
and check on the git refs test case the download of a git package:
 - repo with submodule but without support in the package;
 - repo with recursive submodules with support in the package.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@datacom.ind.br>
Cc: Arnout Vandecappelle <arnout@mind.be>
[Arnout: remove handling of inconsistent tarball hashes - that's an
 actual bug that should be fixed]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
40 files changed:
support/testing/tests/download/br2-external/git-refs/package/git-submodule-disabled/git-submodule-disabled.hash [new file with mode: 0644]
support/testing/tests/download/br2-external/git-refs/package/git-submodule-disabled/git-submodule-disabled.mk [new file with mode: 0644]
support/testing/tests/download/br2-external/git-refs/package/git-submodule-enabled/git-submodule-enabled.hash [new file with mode: 0644]
support/testing/tests/download/br2-external/git-refs/package/git-submodule-enabled/git-submodule-enabled.mk [new file with mode: 0644]
support/testing/tests/download/git-remote/refs-sub1.git/.gitattributes [new file with mode: 0644]
support/testing/tests/download/git-remote/refs-sub1.git/HEAD [new file with mode: 0644]
support/testing/tests/download/git-remote/refs-sub1.git/config [new file with mode: 0644]
support/testing/tests/download/git-remote/refs-sub1.git/objects/07/cabc655213bdf7087d8dd50fda95124e935570 [new file with mode: 0644]
support/testing/tests/download/git-remote/refs-sub1.git/objects/1d/f823cb8a6d1866148ae50a8009762a9c4c777f [new file with mode: 0644]
support/testing/tests/download/git-remote/refs-sub1.git/objects/7d/52f458bdb0f9f5a4beb46fa82824421b8b988e [new file with mode: 0644]
support/testing/tests/download/git-remote/refs-sub1.git/objects/99/f2e3e1cb15f9b52fa29f66d380dda061d917ab [new file with mode: 0644]
support/testing/tests/download/git-remote/refs-sub1.git/objects/a1/30af1626bbadd64841b2cbcb6ac4ed0638ba1a [new file with mode: 0644]
support/testing/tests/download/git-remote/refs-sub1.git/objects/bc/c81ba6e5bd8bf52c95688ae8d3e697e131fa23 [new file with mode: 0644]
support/testing/tests/download/git-remote/refs-sub1.git/objects/cb/545facf77bbc5f24f95b6d503c338d10b7b717 [new file with mode: 0644]
support/testing/tests/download/git-remote/refs-sub1.git/objects/dd/130f6f4629514adaf2e03407f3ed9344eb6cd6 [new file with mode: 0644]
support/testing/tests/download/git-remote/refs-sub1.git/objects/e7/9c5e8f964493290a409888d5413a737e8e5dd5 [new file with mode: 0644]
support/testing/tests/download/git-remote/refs-sub1.git/objects/f8/001e5780100962a5e30a25cbc4c9609cfc7bf3 [new file with mode: 0644]
support/testing/tests/download/git-remote/refs-sub1.git/refs/heads/submodule [new file with mode: 0644]
support/testing/tests/download/git-remote/refs-sub2.git/.gitattributes [new file with mode: 0644]
support/testing/tests/download/git-remote/refs-sub2.git/HEAD [new file with mode: 0644]
support/testing/tests/download/git-remote/refs-sub2.git/config [new file with mode: 0644]
support/testing/tests/download/git-remote/refs-sub2.git/objects/0a/846af45c3e455789435f49f80d70e86b65b9d7 [new file with mode: 0644]
support/testing/tests/download/git-remote/refs-sub2.git/objects/0b/32ebd8fc52cec991f18c94be980e85a8341585 [new file with mode: 0644]
support/testing/tests/download/git-remote/refs-sub2.git/objects/32/d61bae693af7879da63b89a60d3ae67f851e56 [new file with mode: 0644]
support/testing/tests/download/git-remote/refs-sub2.git/objects/3e/9b0a5198c64cea9c00f820433411e3b4d50c1c [new file with mode: 0644]
support/testing/tests/download/git-remote/refs-sub2.git/objects/85/8f666af75b7c0dfba6b8be7eac5f196e7a1221 [new file with mode: 0644]
support/testing/tests/download/git-remote/refs-sub2.git/objects/99/f2e3e1cb15f9b52fa29f66d380dda061d917ab [new file with mode: 0644]
support/testing/tests/download/git-remote/refs-sub2.git/objects/cd/4d62ff218ab7b4a04f5bfdf800ace087af3ceb [new file with mode: 0644]
support/testing/tests/download/git-remote/refs-sub2.git/objects/e7/9c5e8f964493290a409888d5413a737e8e5dd5 [new file with mode: 0644]
support/testing/tests/download/git-remote/refs-sub2.git/objects/e8/3f6f805bd016b90acafc8702c52d778eb57310 [new file with mode: 0644]
support/testing/tests/download/git-remote/refs-sub2.git/refs/heads/submodule [new file with mode: 0644]
support/testing/tests/download/git-remote/repo.git/objects/0b/d8ceb961c3b2b210f64a67d57f4b5cd669d343 [new file with mode: 0644]
support/testing/tests/download/git-remote/repo.git/objects/25/59d83bfe937fc0412d96ed664663c9e8a99055 [new file with mode: 0644]
support/testing/tests/download/git-remote/repo.git/objects/2f/a37f6885d7eb746df75eccaddbacf3ac82799d [new file with mode: 0644]
support/testing/tests/download/git-remote/repo.git/objects/8b/8a7e885a041da72b1ee9a47c5b9300b172a9e7 [new file with mode: 0644]
support/testing/tests/download/git-remote/repo.git/objects/a9/dbc1e23c45e8e1b88c0448763f54d714eb6f8f [new file with mode: 0644]
support/testing/tests/download/git-remote/repo.git/objects/d4/e2941d18a63535400476324ddeb7f40164be41 [new file with mode: 0644]
support/testing/tests/download/git-remote/repo.git/objects/fe/74231105841041d5f441e70399d37f0e600aa5 [new file with mode: 0644]
support/testing/tests/download/git-remote/repo.git/refs/heads/submodule [new file with mode: 0644]
support/testing/tests/download/test_git.py