From 5692e6afa1cad6ec012742e5cd3a222c318e50b5 Mon Sep 17 00:00:00 2001 From: Ricardo Martincoski Date: Fri, 11 May 2018 23:58:29 -0300 Subject: testing/tests/download: test git branch Add a branch to the static repo and check on the git refs test case the download of a git package: - with a sha1 reachable by a branch name, but not pointed by it, as version. This is the most common use case for git refs in the tree; - with a partial sha1 of a commit reachable by a branch as version; - with a sha1 of the commit head of a branch as version; - with a partial sha1 of the commit head of a branch as version; Enforce the download always occurs by removing the BR2_DL_DIR used for the tarballs generated by the git download infra. Signed-off-by: Ricardo Martincoski Cc: Arnout Vandecappelle Tested-by: Matthew Weber Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- support/testing/tests/download/git-remote/repo.git/refs/heads/mybranch | 1 + 1 file changed, 1 insertion(+) create mode 100644 support/testing/tests/download/git-remote/repo.git/refs/heads/mybranch (limited to 'support/testing/tests/download/git-remote/repo.git/refs') diff --git a/support/testing/tests/download/git-remote/repo.git/refs/heads/mybranch b/support/testing/tests/download/git-remote/repo.git/refs/heads/mybranch new file mode 100644 index 0000000000..45cec54673 --- /dev/null +++ b/support/testing/tests/download/git-remote/repo.git/refs/heads/mybranch @@ -0,0 +1 @@ +68c197d0879d485f4f6cee85544722b79e68e59f -- cgit v1.2.3